]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stockitem.h
renamed GlobalPtr to GlobalPtrLock
[wxWidgets.git] / include / wx / stockitem.h
index 7cb4afaaa771ae90c7c0f1d7677e28d68c5d1e29..aa95845f4fc2ccbef5a790c4970b09d24e8a2e6d 100644 (file)
@@ -17,6 +17,7 @@
 #endif
 
 #include "wx/defs.h"
+#include "wx/wxchar.h"
 #include "wx/string.h"
 
 // ----------------------------------------------------------------------------
@@ -32,7 +33,9 @@ WXDLLEXPORT bool wxIsStockLabel(wxWindowID id, const wxString& label);
 
 // Returns label that should be used for given stock UI element (e.g. "&OK"
 // for wxSTOCK_OK):
-WXDLLEXPORT wxString wxGetStockLabel(wxWindowID id);
+WXDLLEXPORT wxString wxGetStockLabel(wxWindowID id,
+                                     bool withCodes = true,
+                                     wxString accelerator = wxEmptyString);
 
 #ifdef __WXGTK20__
 // Translates stock ID to GTK+'s stock item string indentifier: