From: Stefan Neis Date: Sat, 7 Apr 2007 12:28:59 +0000 (+0000) Subject: Compilation fix for wxCStrData handling. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d87887c1b7e9575dc31fca58c5a5b19d20755346?ds=sidebyside Compilation fix for wxCStrData handling. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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)