summary refs log tree commit diff stats
path: root/tools/mapedit/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mapedit/src/main.cpp')
-rw-r--r--tools/mapedit/src/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/mapedit/src/main.cpp b/tools/mapedit/src/main.cpp index cfc5a46..91dd98f 100644 --- a/tools/mapedit/src/main.cpp +++ b/tools/mapedit/src/main.cpp
@@ -18,9 +18,7 @@ bool MapeditApp::OnInit()
18{ 18{
19 wxInitAllImageHandlers(); 19 wxInitAllImageHandlers();
20 20
21 MapeditFrame* frame = new MapeditFrame(); 21 MapeditFrame::NewMap();
22 SetTopWindow(frame);
23 frame->Show(true);
24 22
25 return true; 23 return true;
26} 24}