]> git.saurik.com Git - wxWidgets.git/commitdiff
Use wx_static_cast instead of static_cast.
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Wed, 24 May 2006 22:55:28 +0000 (22:55 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Wed, 24 May 2006 22:55:28 +0000 (22:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/notebook.cpp

index f5f40f5015f1b26c49a6982529b9a66682beca63..c3e7cb4821d0364773a3b878550abfa111146167 100644 (file)
@@ -106,7 +106,7 @@ private:
 
 static int GetPageId(wxTabView *tabview, wxNotebookPage *page)
 {
-    return static_cast<wxNotebookTabView*>(tabview)->GetId(page);
+    return wx_static_cast(wxNotebookTabView*, tabview)->GetId(page);
 }
 
 // ----------------------------------------------------------------------------