]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/window.cpp
applying patch, fixes #10523
[wxWidgets.git] / src / msw / window.cpp
index 3707a1bad723a588ff0669d463198f6b6bfe16e9..0caca386a952d5dff425cf371737b06465ea1d6f 100644 (file)
@@ -2007,6 +2007,12 @@ void wxWindowMSW::DoSetSize(int x, int y, int width, int height, int sizeFlags)
          width == currentW && height == currentH &&
             !(sizeFlags & wxSIZE_FORCE) )
     {
+        if (sizeFlags & wxSIZE_FORCE_EVENT)
+        {
+            wxSizeEvent event( wxSize(width,height), GetId() );
+            event.SetEventObject( this );
+            HandleWindowEvent( event );
+        }
         return;
     }