X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aea95b1c3a8ae221cc3aade5ce49a3cf848fd56a..d48687a0719620cc888072db31bb3814dea400ab:/src/gtk1/colour.cpp diff --git a/src/gtk1/colour.cpp b/src/gtk1/colour.cpp index 82712095cd..e5234be3d4 100644 --- a/src/gtk1/colour.cpp +++ b/src/gtk1/colour.cpp @@ -225,10 +225,10 @@ GdkColor *wxColour::GetColor() const return &M_COLDATA->m_color; } -bool wxColour::FromString(const wxChar *str) +bool wxColour::FromString(const wxString& str) { GdkColor colGDK; - if ( gdk_color_parse( str, &colGDK ) ) + if ( gdk_color_parse( wxGTK_CONV(str), &colGDK ) ) { UnRef();