]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/brush.h
wxaui multi-notebook now uses a tab art provider which allows for dynamically switcha...
[wxWidgets.git] / include / wx / gtk / brush.h
index 6a92478809a63eb33cab82a0f74408dae1a7c527..6d9a4104297dc07502b8269f68f4becfcb14d9d0 100644 (file)
@@ -24,9 +24,10 @@ public:
 
     wxBrush( const wxColour &colour, int style = wxSOLID );
     wxBrush( const wxBitmap &stippleBitmap );
-    ~wxBrush();
+    virtual ~wxBrush();
 
-    bool Ok() const { return m_refData != NULL; }
+    bool Ok() const { return IsOk(); }
+    bool IsOk() const { return m_refData != NULL; }
 
     bool operator == ( const wxBrush& brush ) const;
     bool operator != (const wxBrush& brush) const { return !(*this == brush); }