corrected bug in wxMenu::Enable()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
faa7a70eaf
commit
9d08a1edf6
@ -113,7 +113,7 @@ void wxMenuItem::DeleteSubMenu()
|
||||
|
||||
void wxMenuItem::Enable(bool bDoEnable)
|
||||
{
|
||||
if ( m_isChecked != bDoEnable )
|
||||
if ( m_isEnabled != bDoEnable )
|
||||
{
|
||||
if ( !IsSubMenu() )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user