]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stockitem.h
Fixes for semicolons, commas and wxSTRING_MAXLEN from Wlodek Szafran.
[wxWidgets.git] / include / wx / stockitem.h
index 65e01d9f72d9f232636bfc0ba1cade0d5dfc4224..126489afa46139975c804c10a1295ad29d479741 100644 (file)
@@ -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 <gdk/gdktypes.h>