X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f7bcb48fd9a642036a3bf5c70e2b0c9576df1b1..c932709d31bf359c994dc2050bec1b3b986bbd62:/src/common/stockitem.cpp?ds=sidebyside diff --git a/src/common/stockitem.cpp b/src/common/stockitem.cpp index 80fd5e25f5..13be116b1f 100644 --- a/src/common/stockitem.cpp +++ b/src/common/stockitem.cpp @@ -158,7 +158,7 @@ wxString wxGetStockLabel(wxWindowID id) }; #undef STOCKITEM - + return wxEmptyString; } @@ -171,11 +171,11 @@ bool wxIsStockLabel(wxWindowID id, const wxString& label) if (label == stock) return true; - + stock.Replace(_T("&"), wxEmptyString); if (label == stock) return true; - + return false; } @@ -189,9 +189,9 @@ const char *wxGetStockGtkID(wxWindowID id) #define STOCKITEM(wx,gtk) \ case wx: \ return gtk; - + #define STOCKITEM_MISSING(wx) \ - case wxid: \ + case wx: \ return NULL; #if GTK_CHECK_VERSION(2,4,0) @@ -259,7 +259,7 @@ const char *wxGetStockGtkID(wxWindowID id) }; #undef STOCKITEM - + return NULL; }