]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/palmos/pen.h
need to include wx/msw/private.h to get GetHwnd() which is used here
[wxWidgets.git] / include / wx / palmos / pen.h
index 6c86bb8e9b3a35494d088efc117f948ce1112f08..fb190c5a4a8c180348d7e2e8ddc0a3ddc9637e98 100644 (file)
@@ -89,7 +89,8 @@ public:
 
     bool operator!=(const wxPen& pen) const { return !(*this == pen); }
 
-    virtual bool Ok() const { return (m_refData != NULL); }
+    virtual bool Ok() const { return IsOk(); }
+    virtual bool IsOk() const { return (m_refData != NULL); }
 
     // Override in order to recreate the pen
     void SetColour(const wxColour& col);