]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/control.h
handle actions of the columns popup menu in wxHeaderCtrl itself (but the derived...
[wxWidgets.git] / include / wx / control.h
index ecc897525c9aba608a02f2cc33697ec727298934..a7c6496e72975c87c7049e0f08559db8be8aa6e7 100644 (file)
@@ -73,6 +73,11 @@ public:
     // removes the mnemonics characters
     static wxString RemoveMnemonics(const wxString& str);
 
+    // return the accel index in the string or -1 if none and puts the modified
+    // string into second parameter if non NULL
+    static int FindAccelIndex(const wxString& label,
+                              wxString *labelOnly = NULL);
+
 
     // controls by default inherit the colours of their parents, if a
     // particular control class doesn't want to do it, it can override