X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4f01f0592c03e1847a2135e188ed25232077225..d8d267726acaf5e00b6e16afe60fe5d5f2904028:/src/common/framecmn.cpp?ds=sidebyside diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index bdd5dc26d1..0020580068 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -176,6 +176,15 @@ wxPoint wxFrameBase::GetClientAreaOrigin() const return pt; } + +void wxFrameBase::SendSizeEvent() +{ + wxSizeEvent event( GetSize(), GetId() ); + event.SetEventObject( this ); + GetEventHandler()->AddPendingEvent( event ); +} + + // ---------------------------------------------------------------------------- // misc // ----------------------------------------------------------------------------