From 4322f94f29dd668540ba31a26d08402b7e849b23 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 7 Sep 2006 16:53:22 +0000 Subject: [PATCH] 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 --- src/common/stockitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.50.0