X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/abdd2c013f460c61b1833c199303c2bd687084ee..ec8565f3c5d1df72267cb1e3375789090ac091da:/include/wx/stockitem.h diff --git a/include/wx/stockitem.h b/include/wx/stockitem.h index 7cb4afaaa7..aa95845f4f 100644 --- a/include/wx/stockitem.h +++ b/include/wx/stockitem.h @@ -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: