]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/stockitem.cpp
Set HTML data even in Unicode mode
[wxWidgets.git] / src / common / stockitem.cpp
index 1946b288aed0355ea5eea4d0cb049604c579fe36..c1b7d71ad8f51c5fab8c0e7dcc9854fcf9a2c326 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "stockitem.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -90,10 +86,10 @@ bool wxIsStockID(wxWindowID id)
 
         default:
             return false;
-    };
+    }
 }
 
-wxString wxGetStockLabel(wxWindowID id, bool withCodes, wxString accelerator)
+wxString wxGetStockLabel(wxWindowID id, bool withCodes, const wxString& accelerator)
 {
     wxString stockLabel;