X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2193517f1b909b834dc6e314acc3b873dc8196d9..dcb39c53303d1ec6884f7bcd7bc9dc101e560e62:/contrib/utils/convertrc/convert.h diff --git a/contrib/utils/convertrc/convert.h b/contrib/utils/convertrc/convert.h index 472953e229..07043d494e 100644 --- a/contrib/utils/convertrc/convert.h +++ b/contrib/utils/convertrc/convert.h @@ -5,6 +5,10 @@ #if !defined(MAINFRAME_H) #define MAINFRAME_H +#ifdef __GNUG__ +#pragma interface "convert.h" +#endif + #include "wx/wxprec.h" @@ -17,21 +21,21 @@ class wxMainFrame:public wxFrame { public: - void OnRC2XML(); - void OnWXR2XML(); - void OnRc2Wxr(); - void OnQuit(); - wxMainFrame(wxWindow* parent, wxWindowID id, + void OnRC2XML(wxCommandEvent& event); + void OnWXR2XML(wxCommandEvent& event); + void OnRc2Wxr(wxCommandEvent& event); + void OnQuit(wxCommandEvent& event); + wxMainFrame(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE, - const wxString& name = "frame"); + const wxString& name = _T("frame")); virtual ~wxMainFrame(); - + protected: DECLARE_EVENT_TABLE() }; -class wxConvertApp : public wxApp +class wxConvertApp : public wxApp { public: bool HandleCommandLine();