]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/window.cpp
Corrected wxScrolledWindow's OnSize behaviour.
[wxWidgets.git] / src / mac / window.cpp
index 72cc0f8290a1ea69b3b2174032c8838820d3b4b9..7f2c51c279ad9e86f2a229ac8d1d604c224a01f4 100644 (file)
@@ -712,11 +712,11 @@ void wxWindowMac::DoSetSize(int x, int y, int width, int height, int sizeFlags)
        }
        if ( doResize )
        {
-           MacRepositionScrollBars() ;
-           wxSize size(m_width, m_height);
-           wxSizeEvent event(size, m_windowId);
-           event.SetEventObject(this);
-           GetEventHandler()->ProcessEvent(event);
+                MacRepositionScrollBars() ;
+                wxSize size(m_width, m_height);
+                wxSizeEvent event(size, m_windowId);
+                event.SetEventObject(this);
+                GetEventHandler()->ProcessEvent(event);
        }
        }
 }