From: Stefan Neis Date: Sat, 28 Apr 2007 14:36:00 +0000 (+0000) Subject: Compilation fix for string changes (patch #1709228). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0be0990e4175241d9f68b015c7ce77994192a727 Compilation fix for string changes (patch #1709228). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/os2/notebook.cpp b/src/os2/notebook.cpp index e01175a513..d29206949e 100644 --- a/src/os2/notebook.cpp +++ b/src/os2/notebook.cpp @@ -266,7 +266,7 @@ bool wxNotebook::SetPageText( size_t nPage, return (bool)::WinSendMsg( m_hWnd ,BKM_SETTABTEXT ,MPFROMLONG((ULONG)m_alPageId[nPage]) - ,MPFROMP(rsStrText.c_str()) + ,MPFROMP((const char*)rsStrText.c_str()) ); } // end of wxNotebook::SetPageText