summaryrefslogtreecommitdiff
path: root/ldmicro/ldmicro.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ldmicro/ldmicro.cpp')
-rw-r--r--ldmicro/ldmicro.cpp16
1 files changed, 15 insertions, 1 deletions
diff --git a/ldmicro/ldmicro.cpp b/ldmicro/ldmicro.cpp
index 3e315ce..2b27ce5 100644
--- a/ldmicro/ldmicro.cpp
+++ b/ldmicro/ldmicro.cpp
@@ -1271,11 +1271,25 @@ int main(int argc, char** argv)
//Icon for main window
MainWindow->setWindowIcon(*MWIcon);
MakeMainWindowMenus();
+ MakeDialogBoxClass();
InitForDrawing();
+
+ ThawWindowPos(MainWindow);
+ IoListHeight = 100;
+ ThawDWORD(IoListHeight);
+
MakeMainWindowControls();
- MainWindow->show();
MainWindowResized();
+
MenuHandler();
+
+ NewProgram();
+ strcpy(CurrentSaveFile, "");
+
+ MainWindow->show();
+
+ GenerateIoListDontLoseSelection();
+
// MakeDialogBoxClass();