]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/menu.h
made wxADJUST_MINSIZE default
[wxWidgets.git] / include / wx / menu.h
index 05cfe3948da9046a4ab688976899814cf0ccbcd1..bd0fef2289d4610d7e1deb868e1e061c67bce4d6 100644 (file)
@@ -330,6 +330,11 @@ public:
         Insert(0u, itemid, text, help, isCheckable);
     }
 
+    static void LockAccels(bool locked)
+    {
+        ms_locked = locked;
+    }
+    
 protected:
     // virtuals to override in derived classes
     // ---------------------------------------
@@ -362,6 +367,8 @@ protected:
 
     wxEvtHandler  *m_eventHandler;      // a pluggable in event handler
 
+    static bool      ms_locked;
+    
     DECLARE_NO_COPY_CLASS(wxMenuBase)
 };