X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e4db4505524a31d02f86a577a53a6f6e6636c2d..b935c45dee0e6036de3e83c44015d14d3958ac7f:/src/generic/notebook.cpp diff --git a/src/generic/notebook.cpp b/src/generic/notebook.cpp index 04d8719747..ae59e3ff3f 100644 --- a/src/generic/notebook.cpp +++ b/src/generic/notebook.cpp @@ -102,7 +102,7 @@ private: static int GetPageId(wxTabView *tabview, wxNotebookPage *page) { - return wx_static_cast(wxNotebookTabView*, tabview)->GetId(page); + return static_cast(tabview)->GetId(page); } // ----------------------------------------------------------------------------