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:
@@ -169,7 +169,7 @@ wxString wxGetStockLabel(wxWindowID id, long flags)
|
|||||||
|
|
||||||
#undef STOCKITEM
|
#undef STOCKITEM
|
||||||
|
|
||||||
if(flags & wxSTOCK_WITH_MNEMONIC)
|
if ( !(flags & wxSTOCK_WITH_MNEMONIC) )
|
||||||
{
|
{
|
||||||
stockLabel = wxStripMenuCodes( stockLabel );
|
stockLabel = wxStripMenuCodes( stockLabel );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user