X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55ca41b1ea89c0e6ccf84973091bea8b936eee06..3f8cdda4851796e5f5f5bcd82d9e867a30581a6f:/src/gtk/window.cpp diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 7fc84be912..830bfe0431 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -2540,6 +2540,12 @@ void wxWindowGTK::DoSetSize( int x, int y, int width, int height, int sizeFlags event.SetEventObject( this ); HandleWindowEvent( event ); } + } else + if (sizeFlags & wxSIZE_FORCE_EVENT) + { + wxSizeEvent event( wxSize(m_width,m_height), GetId() ); + event.SetEventObject( this ); + HandleWindowEvent( event ); } }