]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/toplevel.cpp
small includes cleanup
[wxWidgets.git] / src / dfb / toplevel.cpp
index cac71c9acb33009db48f3c8a78dd0012608391c3..8a5ef12fa92229a3a218421206f911fcd432c47d 100644 (file)
@@ -74,7 +74,6 @@ bool wxTopLevelWindowDFB::Create(wxWindow *parent,
 // showing and hiding
 // ----------------------------------------------------------------------------
 
 // showing and hiding
 // ----------------------------------------------------------------------------
 
-#warning "FIXME: the rest of this file is almost same as for MGL, merge it"
 bool wxTopLevelWindowDFB::ShowFullScreen(bool show, long style)
 {
     if ( show == m_fsIsShowing )
 bool wxTopLevelWindowDFB::ShowFullScreen(bool show, long style)
 {
     if ( show == m_fsIsShowing )
@@ -185,7 +184,7 @@ void wxTopLevelWindowDFB::HandleFocusEvent(const wxDFBWindowEvent& event_)
 
     wxActivateEvent event(wxEVT_ACTIVATE, activate, GetId());
     event.SetEventObject(this);
 
     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):
 
     // if a frame that doesn't have wx focus inside it just got focus, we
     // need to set focus to it (or its child):