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:
parent
6a8a390322
commit
4322f94f29
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user