X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd5e86874e7796e4a7ccfc65d973f309cdc9a087..5613bc20ed8fbd2736f96bc1ecb98977870448d0:/src/generic/notebook.cpp 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); } // ----------------------------------------------------------------------------