From ca8fdde6a746f14a705daa431cedeb8ba52114ff Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 16 Feb 2011 23:27:30 +0000 Subject: [PATCH] Applied patch #12444: wxAcceleratorEntry::IsOk() is broken git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/accel.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/wx/accel.h b/include/wx/accel.h index 025b51b375..e77aa1ab2f 100644 --- a/include/wx/accel.h +++ b/include/wx/accel.h @@ -106,8 +106,7 @@ public: bool IsOk() const { - return m_flags != 0 && - m_keyCode != 0; + return m_keyCode != 0; }