X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..749f13d4a2d25b3ab4509131b425d02fb2327569:/src/osx/accel.cpp diff --git a/src/osx/accel.cpp b/src/osx/accel.cpp index 163fcf4107..14f0b1887a 100644 --- a/src/osx/accel.cpp +++ b/src/osx/accel.cpp @@ -86,7 +86,7 @@ bool wxAcceleratorTable::IsOk() const int wxAcceleratorTable::GetCommand( wxKeyEvent &event ) { - if (!Ok()) return -1; + if (!IsOk()) return -1; wxAccelList::compatibility_iterator node = M_ACCELDATA->m_accels.GetFirst(); while (node)