]> git.saurik.com Git - wxWidgets.git/blame - contrib/utils/convertrc/convert.h
Removed very out of date files in docs/msw
[wxWidgets.git] / contrib / utils / convertrc / convert.h
CommitLineData
2193517f
VS
1// MainFrame.h: interface for the wxMainFrame class.
2//
3//////////////////////////////////////////////////////////////////////
4
5#if !defined(MAINFRAME_H)
6#define MAINFRAME_H
7
694f70fa
WS
8#ifdef __GNUG__
9#pragma interface "convert.h"
10#endif
11
2193517f
VS
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
21class wxMainFrame:public wxFrame
22{
23public:
19d0f58d
JS
24 void OnRC2XML(wxCommandEvent& event);
25 void OnWXR2XML(wxCommandEvent& event);
26 void OnRc2Wxr(wxCommandEvent& event);
27 void OnQuit(wxCommandEvent& event);
f80ea77b 28 wxMainFrame(wxWindow* parent, wxWindowID id,
2193517f
VS
29 const wxString& title, const wxPoint& pos = wxDefaultPosition,
30 const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE,
19d0f58d 31 const wxString& name = _T("frame"));
2193517f 32 virtual ~wxMainFrame();
f80ea77b 33
2193517f
VS
34protected:
35 DECLARE_EVENT_TABLE()
36};
37
f80ea77b 38class wxConvertApp : public wxApp
2193517f
VS
39{
40public:
41 bool HandleCommandLine();
42 void InitMenu();
43 bool OnInit(void);
44 wxConvertApp();
45 virtual ~wxConvertApp();
46
47protected:
48 wxMenuBar * m_pMenuBar;
49 wxMainFrame *m_pFrame;
50};
51
52
53
54#endif // !defined(MAINFRAME_H)