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