X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3857173d3c186214cbc73ce764d122d5cf7b98d6..1722a3f626f7b29b42a22fc6329ce12fb5e8ed90:/src/os2/dialog.cpp diff --git a/src/os2/dialog.cpp b/src/os2/dialog.cpp index 12d98447d1..e17a1414d8 100644 --- a/src/os2/dialog.cpp +++ b/src/os2/dialog.cpp @@ -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 ) {