diff --git a/src/gtk/notebook.cpp b/src/gtk/notebook.cpp index 1629c14c34..0dcc82b7b6 100644 --- a/src/gtk/notebook.cpp +++ b/src/gtk/notebook.cpp @@ -362,7 +362,7 @@ void wxNotebook::OnSize(wxSizeEvent& event) while (node) { wxNotebookPage *page = (wxNotebookPage*)node->Data(); - page->m_clientPanel->ProcessEvent(event); + page->m_clientPanel->SetSize(event.GetSize().GetX(), event.GetSize().GetY()); node = node->Next(); }; diff --git a/src/gtk1/notebook.cpp b/src/gtk1/notebook.cpp index 1629c14c34..0dcc82b7b6 100644 --- a/src/gtk1/notebook.cpp +++ b/src/gtk1/notebook.cpp @@ -362,7 +362,7 @@ void wxNotebook::OnSize(wxSizeEvent& event) while (node) { wxNotebookPage *page = (wxNotebookPage*)node->Data(); - page->m_clientPanel->ProcessEvent(event); + page->m_clientPanel->SetSize(event.GetSize().GetX(), event.GetSize().GetY()); node = node->Next(); };