From: Vadim Zeitlin Date: Thu, 7 Sep 2006 16:53:22 +0000 (+0000) Subject: fix wxSTOCK_WITH_MNEMONIC handling (was reversed after recent changes) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4322f94f29dd668540ba31a26d08402b7e849b23 fix wxSTOCK_WITH_MNEMONIC handling (was reversed after recent changes) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 ); }