]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/toplevel.cpp
assigning line marker to itself shouldn't invalidate it, add self-assignment check
[wxWidgets.git] / src / mgl / toplevel.cpp
index ebb4bacd10802d58d6bfb6c2a681587014551521..d2ede3f43c4bc713b211c3704156d2294276712a 100644 (file)
@@ -152,7 +152,7 @@ bool wxTopLevelWindowMGL::Show(bool show)
         m_sizeSet = true;
         wxSizeEvent event(GetSize(), GetId());
         event.SetEventObject(this);
-        GetEventHandler()->ProcessEvent(event);
+        HandleWindowEvent(event);
     }
 
     if ( ret && show && CanAcceptFocus() )