]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix for string changes (patch #1709228).
authorStefan Neis <Stefan.Neis@t-online.de>
Sat, 28 Apr 2007 14:36:00 +0000 (14:36 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sat, 28 Apr 2007 14:36:00 +0000 (14:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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