diff --git a/samples/notebook/notebook.cpp b/samples/notebook/notebook.cpp index 9bb39f8704..14e05fee44 100644 --- a/samples/notebook/notebook.cpp +++ b/samples/notebook/notebook.cpp @@ -884,7 +884,6 @@ void MyFrame::OnDeleteLastPage(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnNextPage(wxCommandEvent& WXUNUSED(event)) { - wxFindWindowAtPoint(wxPoint(0,0)); wxBookCtrlBase *currBook = GetCurrentBook(); if ( currBook )