X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4e15a8d05914440abd6f479211284aaf5068d7c..291b0f5b14b62be240ae5cb1ec2ade3d8db6a776:/src/os2/notebook.cpp diff --git a/src/os2/notebook.cpp b/src/os2/notebook.cpp index 07fda9543e..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((PSZ)rsStrText.c_str()) + ,MPFROMP((const char*)rsStrText.c_str()) ); } // end of wxNotebook::SetPageText