]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/notebook.cpp
fix warnings about parameters shadowing member variables
[wxWidgets.git] / src / os2 / notebook.cpp
index 07fda9543e45aacd8584d1bb99e12dabe360d3b9..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((PSZ)rsStrText.c_str())
+                              ,MPFROMP((const char*)rsStrText.c_str())
                              );
 } // end of wxNotebook::SetPageText