]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/menu.h
added wxEncodingToCodepage() and implemented it properly (using in32 API instead...
[wxWidgets.git] / include / wx / gtk / menu.h
index caa919c05d43386145464a878efcc46b75802cff..f36c816d2a5e724cfc0ff82fb0761dd6142c67c3 100644 (file)
@@ -80,6 +80,8 @@ public:
 
     // TODO: virtual void SetTitle(const wxString& title);
 
+    // compatibility only
+#if wxUSE_MENU_CALLBACK
     wxMenu(const wxString& title, const wxFunction func)
         : wxMenuBase(title)
     {
@@ -87,6 +89,7 @@ public:
 
         Callback(func);
     }
+#endif // WXWIN_COMPATIBILITY_2
 
     // implementation
     int FindMenuIdByMenuItem( GtkWidget *menuItem ) const;