X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e97a905185a72c04a7feb67c7885ab4412100ee..cffff062b34764a1b0978a06cf3788403cd73f3b:/src/generic/notebook.cpp?ds=sidebyside diff --git a/src/generic/notebook.cpp b/src/generic/notebook.cpp index 8fd494e9e9..ae59e3ff3f 100644 --- a/src/generic/notebook.cpp +++ b/src/generic/notebook.cpp @@ -49,9 +49,6 @@ // event table // ---------------------------------------------------------------------------- -DEFINE_EVENT_TYPE(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED) -DEFINE_EVENT_TYPE(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING) - BEGIN_EVENT_TABLE(wxNotebook, wxBookCtrlBase) EVT_NOTEBOOK_PAGE_CHANGED(wxID_ANY, wxNotebook::OnSelChange) EVT_SIZE(wxNotebook::OnSize) @@ -105,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); } // ----------------------------------------------------------------------------