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:
@@ -176,6 +176,15 @@ wxPoint wxFrameBase::GetClientAreaOrigin() const
|
||||
return pt;
|
||||
}
|
||||
|
||||
|
||||
void wxFrameBase::SendSizeEvent()
|
||||
{
|
||||
wxSizeEvent event( GetSize(), GetId() );
|
||||
event.SetEventObject( this );
|
||||
GetEventHandler()->AddPendingEvent( event );
|
||||
}
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// misc
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user