#ifndef __GTKCOLOURH__
#define __GTKCOLOURH__
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface
#endif
// Implicit conversion from the colour name
wxColour( const wxString &colourName ) { InitFromName(colourName); }
- wxColour( const char *colourName ) { InitFromName(colourName); }
+ wxColour( const char *colourName ) { InitFromName( wxString::FromAscii(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();