X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef0e92205a01c7d0ca6f381cc690cb5d4fa595c9..dcb6cbecc890c65e15ade46ca416b4c353bb7e8f:/include/wx/control.h diff --git a/include/wx/control.h b/include/wx/control.h index ecc897525c..a7c6496e72 100644 --- a/include/wx/control.h +++ b/include/wx/control.h @@ -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