]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/toplevel.cpp
cleaning up common OSX code
[wxWidgets.git] / src / x11 / toplevel.cpp
index 384b7ae317f1085a9980ac580acc72eda1c0fee9..9d16c98353d23a903409cc1e81a6bcdc17981674 100644 (file)
@@ -268,7 +268,7 @@ void wxTopLevelWindowX11::OnInternalIdle()
     {
         wxSizeEvent event( GetClientSize(), GetId() );
         event.SetEventObject( this );
-        GetEventHandler()->ProcessEvent( event );
+        HandleWindowEvent( event );
 
         m_needResizeInIdle = false;
     }
@@ -285,7 +285,7 @@ bool wxTopLevelWindowX11::Show(bool show)
         wxSizeEvent event(GetSize(), GetId());
 
         event.SetEventObject(this);
-        GetEventHandler()->ProcessEvent(event);
+        HandleWindowEvent(event);
 
         m_needResizeInIdle = false;
     }