]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stockitem.h
show the function in which the assert failure occured if the compiler supports it
[wxWidgets.git] / include / wx / stockitem.h
index aa95845f4fc2ccbef5a790c4970b09d24e8a2e6d..7d2b21429783470c95384d9a1647d623e906f42a 100644 (file)
 #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: