use wxString instead of wxChar* in wxColour::Set/FromString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -180,7 +180,7 @@ const 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( wxGTK_CONV_SYS( str ), &colGDK ) )
|
||||
|
Reference in New Issue
Block a user