Don't return false from IsOk() for accelerators without flags.

wxAcceleratorEntry::IsOk() checked for m_flags != 0 for some reason. Simply
remove this test.

See #12444.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2010-09-10 11:44:35 +00:00
parent da209561e3
commit 395da337e9

View File

@ -107,8 +107,7 @@ public:
bool IsOk() const
{
return m_flags != 0 &&
m_keyCode != 0;
return m_keyCode != 0;
}