]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/toplevel.cpp
Rename wxWebNavigationError to wxWebViewNavigationError and wxWebNavigationEvent...
[wxWidgets.git] / src / mgl / toplevel.cpp
index a4f10c308cf355f18ea62c531e7277c9f0cc9378..d2ede3f43c4bc713b211c3704156d2294276712a 100644 (file)
@@ -152,10 +152,10 @@ bool wxTopLevelWindowMGL::Show(bool show)
         m_sizeSet = true;
         wxSizeEvent event(GetSize(), GetId());
         event.SetEventObject(this);
-        GetEventHandler()->ProcessEvent(event);
+        HandleWindowEvent(event);
     }
 
-    if ( ret && show && AcceptsFocus() )
+    if ( ret && show && CanAcceptFocus() )
         SetFocus();
         // FIXME_MGL -- don't do this for popup windows?
     return ret;