]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/menu.h
fix for GTK+ version check caching (now it actually works)
[wxWidgets.git] / include / wx / gtk1 / menu.h
index 4f670803ec68ad1e26f1179a51064ecbcbf9ab84..caa919c05d43386145464a878efcc46b75802cff 100644 (file)
@@ -83,6 +83,8 @@ public:
     wxMenu(const wxString& title, const wxFunction func)
         : wxMenuBase(title)
     {
+        Init();
+
         Callback(func);
     }
 
@@ -99,6 +101,9 @@ private:
     // common code for all constructors:
     void Init();
 
+    // common part of Append and Insert
+    bool GtkAppend(wxMenuItem *item);
+
     DECLARE_DYNAMIC_CLASS(wxMenu)
 };