From e651143ca8d906d286dff5e60770adf285081b65 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 30 Oct 2006 21:45:42 +0000 Subject: [PATCH] Unicode compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/x11/colour.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x11/colour.cpp b/src/x11/colour.cpp index 6000924c83..2890656e0e 100644 --- a/src/x11/colour.cpp +++ b/src/x11/colour.cpp @@ -250,7 +250,7 @@ bool wxColour::FromString(const wxChar *name) Display *dpy = wxGlobalDisplay(); WXColormap colormap = wxTheApp->GetMainColormap( dpy ); XColor xcol; - if ( XParseColor( dpy, (Colormap)colormap, name , &xcol ) ) + if ( XParseColor( dpy, (Colormap)colormap, wxConvertWX2MB(name), &xcol ) ) { UnRef(); -- 2.45.2