X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..852b6c3ce7baa055da25f5254f6ee2eee0cd79b7:/src/common/stockitem.cpp diff --git a/src/common/stockitem.cpp b/src/common/stockitem.cpp index 197531b3d1..9b2d4e2b1e 100644 --- a/src/common/stockitem.cpp +++ b/src/common/stockitem.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: common/stockitem.cpp +// Name: src/common/stockitem.cpp // Purpose: Stock buttons, menu and toolbar items labels // Author: Vaclav Slavik // Modified by: @@ -25,8 +25,11 @@ #endif #include "wx/stockitem.h" -#include "wx/intl.h" -#include "wx/utils.h" // for wxStripMenuCodes() + +#ifndef WX_PRECOMP + #include "wx/intl.h" + #include "wx/utils.h" // for wxStripMenuCodes() +#endif bool wxIsStockID(wxWindowID id) { @@ -89,7 +92,7 @@ bool wxIsStockID(wxWindowID id) } } -wxString wxGetStockLabel(wxWindowID id, bool withCodes, wxString accelerator) +wxString wxGetStockLabel(wxWindowID id, bool withCodes, const wxString& accelerator) { wxString stockLabel;