X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d84afea9d1ec41ee4e2ebb3bf6b87926cf5f04d1..57530dba8561c3133657ea946665b2d6a56279b8:/include/wx/gtk/colour.h?ds=inline diff --git a/include/wx/gtk/colour.h b/include/wx/gtk/colour.h index e399d074b2..f07bce2d9d 100644 --- a/include/wx/gtk/colour.h +++ b/include/wx/gtk/colour.h @@ -48,6 +48,10 @@ 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 ) : wxGDIObject()