diff --git a/src/common/stockitem.cpp b/src/common/stockitem.cpp index 6bf9ac60e3..a559da2155 100644 --- a/src/common/stockitem.cpp +++ b/src/common/stockitem.cpp @@ -169,7 +169,7 @@ wxString wxGetStockLabel(wxWindowID id, long flags) #undef STOCKITEM - if(flags & wxSTOCK_WITH_MNEMONIC) + if ( !(flags & wxSTOCK_WITH_MNEMONIC) ) { stockLabel = wxStripMenuCodes( stockLabel ); }