]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/accel.cpp
fixing osx_cocoa, there's a reason m_peer is private in the base class
[wxWidgets.git] / src / generic / accel.cpp
index 15054cb15803b83bdd88872e5af026831ca60ade..0185018d42602ce2552cb4cd4cbb01a3bce2562b 100644 (file)
@@ -162,7 +162,7 @@ void wxAcceleratorTable::Remove(const wxAcceleratorEntry& entry)
 const wxAcceleratorEntry *
 wxAcceleratorTable::GetEntry(const wxKeyEvent& event) const
 {
 const wxAcceleratorEntry *
 wxAcceleratorTable::GetEntry(const wxKeyEvent& event) const
 {
-    if ( !Ok() )
+    if ( !IsOk() )
     {
         // not an error, the accel table is just empty
         return NULL;
     {
         // not an error, the accel table is just empty
         return NULL;