compilation fix for !wxUSE_MENU_CALLBACK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-11-19 16:19:33 +00:00
parent c48afe2918
commit cc160ba62b

View File

@@ -49,14 +49,17 @@ public:
virtual void SetTitle(const wxString& title); virtual void SetTitle(const wxString& title);
// MSW-specific // deprecated functions
bool ProcessCommand(wxCommandEvent& event); #if wxUSE_MENU_CALLBACK
wxMenu(const wxString& title, const wxFunction func) wxMenu(const wxString& title, const wxFunction func)
: wxMenuBase(title) : wxMenuBase(title)
{ {
Callback(func); Callback(func);
} }
#endif // wxUSE_MENU_CALLBACK
// MSW-specific
bool ProcessCommand(wxCommandEvent& event);
// implementation only from now on // implementation only from now on
// ------------------------------- // -------------------------------