Compilation fix for string changes (patch #1709228).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2007-04-28 14:36:00 +00:00
parent 951f68d01c
commit 0be0990e41

View 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