X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..bd44dee6986e5c9f706e842b9e969798e130099f:/include/wx/control.h diff --git a/include/wx/control.h b/include/wx/control.h index 2a91838078..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 @@ -131,7 +136,7 @@ protected: #elif defined(__WXGTK__) #include "wx/gtk1/control.h" #elif defined(__WXMAC__) - #include "wx/mac/control.h" + #include "wx/osx/control.h" #elif defined(__WXCOCOA__) #include "wx/cocoa/control.h" #elif defined(__WXPM__)