]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/brush.h
Lots of updates for color dialog and sliders
[wxWidgets.git] / include / wx / gtk1 / brush.h
index 2859c6ad397a1355cfb5c342fc3489c78037762d..dd20823aed936ba8a62b650a45391252c4f2593f 100644 (file)
@@ -40,7 +40,9 @@ public:
     wxBrush( const wxBitmap &stippleBitmap );
     ~wxBrush();
     
     wxBrush( const wxBitmap &stippleBitmap );
     ~wxBrush();
     
-    wxBrush( const wxBrush &brush ) { Ref(brush); }
+    wxBrush( const wxBrush &brush )
+        : wxGDIObject()
+        { Ref(brush); }
     wxBrush& operator = ( const wxBrush& brush ) { Ref(brush); return *this; }
     
     bool Ok() const { return m_refData != NULL; }
     wxBrush& operator = ( const wxBrush& brush ) { Ref(brush); return *this; }
     
     bool Ok() const { return m_refData != NULL; }