X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a268018748c6efb9f51254fb987c119afd71bdd..c10f20703e5b4e9c605b908f480b863c89ca31ee:/src/mac/window.cpp diff --git a/src/mac/window.cpp b/src/mac/window.cpp index 72cc0f8290..7f2c51c279 100644 --- a/src/mac/window.cpp +++ b/src/mac/window.cpp @@ -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); } } }