summary refs log tree commit diff stats
path: root/tools/mapedit/src/frame.h
blob: e5d856253cac5bbb2a525f6f18e224b4aa0dd777 (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
25
#ifndef FRAME_H
#define FRAME_H

#include <wx/wxprec.h>

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

#include "map.h"

class MapeditFrame : public wxFrame {
  public:
    MapeditFrame() : MapeditFrame(Map()) {}
    MapeditFrame(Map map);
    
  private:
    void OnExit(wxCommandEvent& event);
    
    Map map;
    
    wxDECLARE_EVENT_TABLE();
};

#endif