]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dialog.cpp
Better sorting example and better default
[wxWidgets.git] / src / os2 / dialog.cpp
index 12d98447d1b63c693f15e9182a0eb1203be18784..e17a1414d8736fb0fd4276f838db47305102df69 100644 (file)
@@ -222,7 +222,7 @@ bool wxDialog::Show( bool bShow )
 
     wxString title = GetTitle();
     if (!title.empty())
-        ::WinSetWindowText((HWND)GetHwnd(), (PSZ)title.c_str());
+        ::WinSetWindowText((HWND)GetHwnd(), title.c_str());
 
     if ( bShow )
     {