]>
git.saurik.com Git - wxWidgets.git/blob - contrib/utils/convertrc/convert.h
1 // MainFrame.h: interface for the wxMainFrame class.
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(MAINFRAME_H)
13 #define ID_RC2WXR 1005
14 #define ID_WXR2XML 1006
15 #define ID_RC2XML 1007
17 class wxMainFrame
:public wxFrame
20 void OnRC2XML(wxCommandEvent
& event
);
21 void OnWXR2XML(wxCommandEvent
& event
);
22 void OnRc2Wxr(wxCommandEvent
& event
);
23 void OnQuit(wxCommandEvent
& event
);
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
= _T("frame"));
28 virtual ~wxMainFrame();
34 class wxConvertApp
: public wxApp
37 bool HandleCommandLine();
41 virtual ~wxConvertApp();
44 wxMenuBar
* m_pMenuBar
;
45 wxMainFrame
*m_pFrame
;
50 #endif // !defined(MAINFRAME_H)