]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/notebook.cpp
fix warnings due to using deprecated-but-used-internally methods from the header...
[wxWidgets.git] / src / os2 / notebook.cpp
index e01175a5136f913d702ce08dcfb09e71e30f32ff..d29206949ededbf4d84c00591c99acceea1a8f8b 100644 (file)
@@ -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