X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..fbf618dff87a9e4a88d5be458cecc50309b30af3:/include/wx/stockitem.h diff --git a/include/wx/stockitem.h b/include/wx/stockitem.h index 6c1740c64a..7d2b214297 100644 --- a/include/wx/stockitem.h +++ b/include/wx/stockitem.h @@ -31,7 +31,7 @@ WXDLLEXPORT bool wxIsStockLabel(wxWindowID id, const wxString& label); // for wxSTOCK_OK): WXDLLEXPORT wxString wxGetStockLabel(wxWindowID id, bool withCodes = true, - wxString accelerator = wxEmptyString); + const wxString& accelerator = wxEmptyString); #ifdef __WXGTK20__ // Translates stock ID to GTK+'s stock item string indentifier: