]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/gtk/windows2.cpp
wxWindow::Fit() infinite loop bug fixed
[wxWidgets.git] / utils / wxPython / src / gtk / windows2.cpp
index bb2304b4671e6138d0d8b0fe8fefafd35a115a1c..c3cbe15ee74f5e95d33759bab16633bcb51f7137 100644 (file)
@@ -3459,7 +3459,7 @@ static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args) {
 
 static void  wxNotebook_ResizeChildren(wxNotebook *self) {
             wxSizeEvent evt(self->GetClientSize());
-            self->OnSize(evt);
+            self->GetEventHandler()->ProcessEvent(evt);
         }
 static PyObject *_wrap_wxNotebook_ResizeChildren(PyObject *self, PyObject *args) {
     PyObject * _resultobj;