]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/toplevel.cpp
fixing osx_cocoa
[wxWidgets.git] / src / dfb / toplevel.cpp
index cac71c9acb33009db48f3c8a78dd0012608391c3..896341968314c8a60dbef12452922c2fc64daa22 100644 (file)
@@ -185,7 +185,7 @@ void wxTopLevelWindowDFB::HandleFocusEvent(const wxDFBWindowEvent& event_)
 
     wxActivateEvent event(wxEVT_ACTIVATE, activate, GetId());
     event.SetEventObject(this);
-    GetEventHandler()->ProcessEvent(event);
+    HandleWindowEvent(event);
 
     // if a frame that doesn't have wx focus inside it just got focus, we
     // need to set focus to it (or its child):