X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f450b5cf10f898d0c37bb3bc149f0bbe73f95c19..cf4a8b2698fb853ac4b638d08d95cc8e5794d1aa:/src/os2/notebook.cpp 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