]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/colour.h
Lots of updates for color dialog and sliders
[wxWidgets.git] / include / wx / gtk1 / colour.h
index bce0560ddb8a69f9adeded965f92655f32a375cf..e399d074b27af718fec1eb9b7a9b06356701ccd2 100644 (file)
@@ -49,7 +49,9 @@ public:
     wxColour( const wxString &colourName ) { InitFromName(colourName); }
     wxColour( const char *colourName ) { InitFromName(colourName); }
 
-    wxColour( const wxColour& col ) { Ref(col); }
+    wxColour( const wxColour& col )
+        : wxGDIObject()
+        { Ref(col); }
     wxColour& operator = ( const wxColour& col ) { Ref(col); return *this; }
 
     ~wxColour();