]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/mdi.cpp
atsu for textctrl
[wxWidgets.git] / src / gtk1 / mdi.cpp
index 295aef91fb8b2e9ebb0ac67c74c0d86f5a1c20f3..e906cb600b668be125a1c0811a48f7dfc07af103 100644 (file)
@@ -66,7 +66,7 @@ gtk_mdi_page_change_callback( GtkNotebook *WXUNUSED(widget),
     {
         wxActivateEvent event1( wxEVT_ACTIVATE, false, child->GetId() );
         event1.SetEventObject( child);
-        child->GetEventHandler()->ProcessEvent( event1 );
+        child->HandleWindowEvent( event1 );
     }
 
     // send activate event to new child
@@ -100,7 +100,7 @@ gtk_mdi_page_change_callback( GtkNotebook *WXUNUSED(widget),
 
     wxActivateEvent event2( wxEVT_ACTIVATE, true, child->GetId() );
     event2.SetEventObject( child);
-    child->GetEventHandler()->ProcessEvent( event2 );
+    child->HandleWindowEvent( event2 );
 }
 }