summary refs log tree commit diff stats
path: root/tools/mapedit/src/main.cpp
blob: 28fa010eb6a75def43504a7ff4f3be4bd09abef8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <wx/wxprec.h>

#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif

#include "map.h"
#include "frame.h"

class MapeditApp : public wxApp {
  public:
    virtual bool OnInit();
};

wxIMPLEMENT_APP(MapeditApp);

bool MapeditApp::OnInit()
{
  wxInitAllImageHandlers();
  
  MapeditFrame* frame = new MapeditFrame();
  frame->Show(true);
  return true;
}