]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/accel.cpp
Add wxTextCtrl::PositionToCoords() functions for wxMSW and wxGTK.
[wxWidgets.git] / src / osx / accel.cpp
index 163fcf4107ff76b3f5bbf39c0d63544f2576d5f4..14f0b1887a839f242946a8c4e0ab5452d31269a5 100644 (file)
@@ -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)