]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/accel.h
avoid conflict between wxBookCtrlBase::DoSetSelection() and the derived classes;...
[wxWidgets.git] / include / wx / generic / accel.h
index 5bcdf830996df4dc5686c3649f1aaac7f2fcf109..17f7e44fa47de2a2cd482dcad455e53d49bff88c 100644 (file)
@@ -30,7 +30,8 @@ public:
         { return !(*this == accel); }
 #endif
 
-    bool Ok() const;
+    bool Ok() const { return IsOk(); }
+    bool IsOk() const;
 
     void Add(const wxAcceleratorEntry& entry);
     void Remove(const wxAcceleratorEntry& entry);