]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dialog.cpp
Fixed wxAtomicInc/Dec() to not use asm/atomic.h header on Linux - it's kernel interna...
[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 )
     {