From 9d08a1edf6b41502efecdc8c2d5e1195b1e6d3a8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 15 Dec 1999 14:39:56 +0000 Subject: [PATCH] corrected bug in wxMenu::Enable() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/menuitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/motif/menuitem.cpp b/src/motif/menuitem.cpp index 01ed0ccdaa..deaad78a6f 100644 --- a/src/motif/menuitem.cpp +++ b/src/motif/menuitem.cpp @@ -113,7 +113,7 @@ void wxMenuItem::DeleteSubMenu() void wxMenuItem::Enable(bool bDoEnable) { - if ( m_isChecked != bDoEnable ) + if ( m_isEnabled != bDoEnable ) { if ( !IsSubMenu() ) {