Build fix after wxColourBase introduction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -247,7 +247,7 @@ bool wxColour::FromString(const wxChar *name)
|
|||||||
Display *dpy = wxGlobalDisplay();
|
Display *dpy = wxGlobalDisplay();
|
||||||
WXColormap colormap = wxTheApp->GetMainColormap( dpy );
|
WXColormap colormap = wxTheApp->GetMainColormap( dpy );
|
||||||
XColor xcol;
|
XColor xcol;
|
||||||
if ( XParseColor( dpy, (Colormap)colormap, wxGTK_CONV_SYS( name ), &xcol ) )
|
if ( XParseColor( dpy, (Colormap)colormap, name , &xcol ) )
|
||||||
{
|
{
|
||||||
UnRef();
|
UnRef();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user