]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dialog.cpp
Do a little less anti-alias so it looks better on dark backgrounds
[wxWidgets.git] / src / os2 / dialog.cpp
index 820367c6d432e779d21aafeb1eb0849c1828d90e..81a0ff45e788a9f39911ed30967288f2a1b25d98 100644 (file)
@@ -263,7 +263,7 @@ bool wxDialog::Show(
     wxDialogBase::Show(bShow);
 
     if (GetTitle().c_str())
-        ::WinSetWindowText((HWND)GetHwnd(), GetTitle().c_str());
+        ::WinSetWindowText((HWND)GetHwnd(), (PSZ)GetTitle().c_str());
 
     if ( bShow )
     {