]>
git.saurik.com Git - wxWidgets.git/blob - contrib/utils/convertrc/convert.h
07043d494efa4a8a110d372ea0f5c9fd9ed4a602
1 // MainFrame.h: interface for the wxMainFrame class.
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(MAINFRAME_H)
9 #pragma interface "convert.h"
12 #include "wx/wxprec.h"
17 #define ID_RC2WXR 1005
18 #define ID_WXR2XML 1006
19 #define ID_RC2XML 1007
21 class wxMainFrame
:public wxFrame
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();
38 class wxConvertApp
: public wxApp
41 bool HandleCommandLine();
45 virtual ~wxConvertApp();
48 wxMenuBar
* m_pMenuBar
;
49 wxMainFrame
*m_pFrame
;
54 #endif // !defined(MAINFRAME_H)