diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-15 19:27:55 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-15 19:27:55 -0400 |
commit | dca2aea57957c6af1af535f23ae392e7517ebd51 (patch) | |
tree | 170d7e471d3872c07e508998320a3a5e537454fe /tools/mapedit/src/main.cpp | |
parent | c125c1acc0b20c3e405dddb5c835d9734aa0472c (diff) | |
download | therapy-dca2aea57957c6af1af535f23ae392e7517ebd51.tar.gz therapy-dca2aea57957c6af1af535f23ae392e7517ebd51.tar.bz2 therapy-dca2aea57957c6af1af535f23ae392e7517ebd51.zip |
Fixed functionality of quit menu item in map editor
Diffstat (limited to 'tools/mapedit/src/main.cpp')
-rw-r--r-- | tools/mapedit/src/main.cpp | 4 |
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 | } |