]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/menu.h
Speed fix for wxGenericDirCtrl, starting to add text input control;
[wxWidgets.git] / include / wx / msw / menu.h
index 25364af1be81a15cba3285c69a4510a55d2999f0..30815349c39f4662da17d0fc036909545d58e457 100644 (file)
@@ -54,6 +54,8 @@ public:
     wxMenu(const wxString& title, const wxFunction func)
         : wxMenuBase(title)
     {
+        Init();
+
         Callback(func);
     }
 #endif // wxUSE_MENU_CALLBACK
@@ -151,7 +153,6 @@ public:
 
     // implementation from now on
     WXHMENU Create();
-    int  FindMenu(const wxString& title);
     void Detach();
 
         // returns TRUE if we're attached to a frame