X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..6ce832135e0cd665403406e7276630f415a7875b:/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)