Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -272,8 +272,11 @@ void wxCloseDisplay()
|
||||
|
||||
bool wxSetDisplay(const wxString& displayName)
|
||||
{
|
||||
Display *
|
||||
dpy = XOpenDisplay(displayName.empty() ? NULL : displayName.mb_str());
|
||||
Display *dpy = XOpenDisplay
|
||||
(
|
||||
displayName.empty() ? NULL
|
||||
: (const char *)displayName.mb_str()
|
||||
);
|
||||
|
||||
if ( !dpy )
|
||||
{
|
||||
|
Reference in New Issue
Block a user