From: Michael Wetherell Date: Wed, 24 May 2006 22:55:28 +0000 (+0000) Subject: Use wx_static_cast instead of static_cast. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/98b9b5eaf3371f8b4f27166f0a0232d4c9d806c7 Use wx_static_cast instead of static_cast. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/notebook.cpp b/src/generic/notebook.cpp index f5f40f5015..c3e7cb4821 100644 --- a/src/generic/notebook.cpp +++ b/src/generic/notebook.cpp @@ -106,7 +106,7 @@ private: static int GetPageId(wxTabView *tabview, wxNotebookPage *page) { - return static_cast(tabview)->GetId(page); + return wx_static_cast(wxNotebookTabView*, tabview)->GetId(page); } // ----------------------------------------------------------------------------