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
This commit is contained in:
Vadim Zeitlin 2006-09-07 16:53:22 +00:00
parent 6a8a390322
commit 4322f94f29

View File

@ -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 );
}