]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/colour.h
use "..." for wx includes instead of <...>
[wxWidgets.git] / include / wx / gtk / colour.h
index bce0560ddb8a69f9adeded965f92655f32a375cf..f07bce2d9da1040f51538eb9a8bcae20a2b66428 100644 (file)
@@ -48,8 +48,14 @@ public:
     // Implicit conversion from the colour name
     wxColour( const wxString &colourName ) { InitFromName(colourName); }
     wxColour( const char *colourName ) { InitFromName(colourName); }
+#if wxUSE_UNICODE
+    wxColour( const wxChar *colourName ) { InitFromName( wxString(colourName) ); }
+#endif
+
 
-    wxColour( const wxColour& col ) { Ref(col); }
+    wxColour( const wxColour& col )
+        : wxGDIObject()
+        { Ref(col); }
     wxColour& operator = ( const wxColour& col ) { Ref(col); return *this; }
 
     ~wxColour();