]> git.saurik.com Git - wxWidgets.git/blob - contrib/utils/convertrc/convert.h
Defaults in wxWinCE documented.
[wxWidgets.git] / contrib / utils / convertrc / convert.h
1 // MainFrame.h: interface for the wxMainFrame class.
2 //
3 //////////////////////////////////////////////////////////////////////
4
5 #if !defined(MAINFRAME_H)
6 #define MAINFRAME_H
7
8 #ifdef __GNUG__
9 #pragma interface "convert.h"
10 #endif
11
12 #include "wx/wxprec.h"
13
14
15 #define ID_QUIT 1002
16 #define ID_ABOUT 1003
17 #define ID_RC2WXR 1005
18 #define ID_WXR2XML 1006
19 #define ID_RC2XML 1007
20
21 class wxMainFrame:public wxFrame
22 {
23 public:
24 void OnRC2XML(wxCommandEvent& event);
25 void OnWXR2XML(wxCommandEvent& event);
26 void OnRc2Wxr(wxCommandEvent& event);
27 void OnQuit(wxCommandEvent& event);
28 wxMainFrame(wxWindow* parent, wxWindowID id,
29 const wxString& title, const wxPoint& pos = wxDefaultPosition,
30 const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE,
31 const wxString& name = _T("frame"));
32 virtual ~wxMainFrame();
33
34 protected:
35 DECLARE_EVENT_TABLE()
36 };
37
38 class wxConvertApp : public wxApp
39 {
40 public:
41 bool HandleCommandLine();
42 void InitMenu();
43 bool OnInit(void);
44 wxConvertApp();
45 virtual ~wxConvertApp();
46
47 protected:
48 wxMenuBar * m_pMenuBar;
49 wxMainFrame *m_pFrame;
50 };
51
52
53
54 #endif // !defined(MAINFRAME_H)