X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/634629fa2847aa34c60f4fb20377b3a14f59bfc7..c82af6eec562a372bcc2e6ff26dbf3d14e227d72:/include/wx/stockitem.h diff --git a/include/wx/stockitem.h b/include/wx/stockitem.h index aa95845f4f..7d2b214297 100644 --- a/include/wx/stockitem.h +++ b/include/wx/stockitem.h @@ -12,10 +12,6 @@ #ifndef _WX_STOCKITEM_H_ #define _WX_STOCKITEM_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "stockitem.h" -#endif - #include "wx/defs.h" #include "wx/wxchar.h" #include "wx/string.h" @@ -35,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: