]> git.saurik.com Git - wxWidgets.git/commitdiff
Forgot to reset a flag.
authorRobert Roebling <robert@roebling.de>
Thu, 14 Mar 2002 19:10:28 +0000 (19:10 +0000)
committerRobert Roebling <robert@roebling.de>
Thu, 14 Mar 2002 19:10:28 +0000 (19:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/x11/toplevel.cpp

index 2feea7ac0ad4ecbb559b1f6fb23ca86caeb1e4ad..2fef702902d05c22284e6451d64ba8d3bf504d87 100644 (file)
@@ -234,6 +234,8 @@ void wxTopLevelWindowX11::OnInternalIdle()
         wxSizeEvent event( GetClientSize(), GetId() );
         event.SetEventObject( this );
         GetEventHandler()->ProcessEvent( event );
         wxSizeEvent event( GetClientSize(), GetId() );
         event.SetEventObject( this );
         GetEventHandler()->ProcessEvent( event );
+        
+        m_needResizeInIdle = FALSE;
     }
 }
 
     }
 }
 
@@ -254,6 +256,8 @@ bool wxTopLevelWindowX11::Show(bool show)
         wxSizeEvent event(GetSize(), GetId());
         event.SetEventObject(this);
         GetEventHandler()->ProcessEvent(event);
         wxSizeEvent event(GetSize(), GetId());
         event.SetEventObject(this);
         GetEventHandler()->ProcessEvent(event);
+        
+        m_needResizeInIdle = FALSE;
     }
 
     return wxWindowX11::Show(show);
     }
 
     return wxWindowX11::Show(show);