X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/86dc230162aae002d7a0cdf862841b89f6928396..8f9d20d16f54a088aea5fb5e826bf1690efac2ff:/src/os2/dialog.cpp diff --git a/src/os2/dialog.cpp b/src/os2/dialog.cpp index 820367c6d4..81a0ff45e7 100644 --- a/src/os2/dialog.cpp +++ b/src/os2/dialog.cpp @@ -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 ) {