git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4631
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
virtual void SetTitle(const wxString& title);
- // MSW-specific
- bool ProcessCommand(wxCommandEvent& event);
-
+ // deprecated functions
+#if wxUSE_MENU_CALLBACK
wxMenu(const wxString& title, const wxFunction func)
: wxMenuBase(title)
{
Callback(func);
}
+#endif // wxUSE_MENU_CALLBACK
+
+ // MSW-specific
+ bool ProcessCommand(wxCommandEvent& event);
// implementation only from now on
// -------------------------------