X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b137e49318613a59bea5fca42734ec1b0aaf6f7a..42eba91294e1c374908b63bdc5f22a5c4c29f110:/include/wx/stockitem.h diff --git a/include/wx/stockitem.h b/include/wx/stockitem.h index 65e01d9f72..126489afa4 100644 --- a/include/wx/stockitem.h +++ b/include/wx/stockitem.h @@ -51,6 +51,18 @@ WXDLLEXPORT wxString wxGetStockLabel(wxWindowID id, #endif +// wxStockHelpStringClient conceptually works like wxArtClient: it gives a hint to +// wxGetStockHelpString() about the context where the help string is to be used +enum wxStockHelpStringClient +{ + wxSTOCK_MENU // help string to use for menu items +}; + +// Returns an help string for the given stock UI element and for the given "context". +WXDLLEXPORT wxString wxGetStockHelpString(wxWindowID id, + wxStockHelpStringClient client = wxSTOCK_MENU); + + #ifdef __WXGTK20__ #include