diff --git a/src/os2/msgdlg.cpp b/src/os2/msgdlg.cpp index 90d433a089..695b88ee35 100644 --- a/src/os2/msgdlg.cpp +++ b/src/os2/msgdlg.cpp @@ -109,8 +109,8 @@ int wxMessageDialog::ShowModal() ULONG ulAns = ::WinMessageBox( hWnd ,hWnd - ,(PSZ)m_sMessage.c_str() - ,(PSZ)m_sCaption.c_str() + ,m_sMessage.c_str() + ,m_sCaption.c_str() ,0L ,ulStyle); switch (ulAns)