]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/region.h
avoid conflict between wxBookCtrlBase::DoSetSelection() and the derived classes;...
[wxWidgets.git] / include / wx / region.h
index a4d68ec2aea9897e1cfb99f54dbda28ae864b6bd..b0a6c47bdd58358c66703e74e2e5fe15294783f0 100644 (file)
@@ -82,7 +82,8 @@ public:
     // accessors
     // ---------
 
-    bool Ok() const { return m_refData != NULL; }
+    bool Ok() const { return IsOk(); }
+    bool IsOk() const { return m_refData != NULL; }
 
     // Is region empty?
     virtual bool IsEmpty() const = 0;