Give SendSizeEvent a generic implementation. It can be useful on

non-MSW platforms as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-11-19 19:20:01 +00:00
parent 9ae8168e5b
commit 2b02216951
2 changed files with 10 additions and 4 deletions

View File

@@ -176,6 +176,15 @@ wxPoint wxFrameBase::GetClientAreaOrigin() const
return pt;
}
void wxFrameBase::SendSizeEvent()
{
wxSizeEvent event( GetSize(), GetId() );
event.SetEventObject( this );
GetEventHandler()->AddPendingEvent( event );
}
// ----------------------------------------------------------------------------
// misc
// ----------------------------------------------------------------------------