Warning fixes for VC++ 5.0
[wxWidgets.git] / 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);
 }
 
 // ----------------------------------------------------------------------------