X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e4db4505524a31d02f86a577a53a6f6e6636c2d..fdbd931b8e3a85c62dfd75d4fce8df10442c3be3:/src/generic/notebook.cpp diff --git a/src/generic/notebook.cpp b/src/generic/notebook.cpp index 04d8719747..29b5a4137d 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); } // ---------------------------------------------------------------------------- @@ -112,7 +112,7 @@ static int GetPageId(wxTabView *tabview, wxNotebookPage *page) // common part of all ctors void wxNotebook::Init() { - m_tabView = (wxNotebookTabView*) NULL; + m_tabView = NULL; m_nSelection = -1; }