]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/stockitem.cpp
Ambiguous overload fix for gcc
[wxWidgets.git] / src / common / stockitem.cpp
index 197531b3d191ab63b5ec55417c49045246bb8446..c1b7d71ad8f51c5fab8c0e7dcc9854fcf9a2c326 100644 (file)
@@ -89,7 +89,7 @@ bool wxIsStockID(wxWindowID id)
     }
 }
 
-wxString wxGetStockLabel(wxWindowID id, bool withCodes, wxString accelerator)
+wxString wxGetStockLabel(wxWindowID id, bool withCodes, const wxString& accelerator)
 {
     wxString stockLabel;