Added handler for ConfigureNotify (i.e. size events).
     The status bar gets drawn right now, the rest is still
       black art although paint events are correctly sent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2002-02-11 22:46:43 +00:00
parent 1180fb81d9
commit c31a82c10d

View File

@ -368,6 +368,16 @@ void wxApp::ProcessXEvent(WXEvent* _event)
}
return;
}
case ConfigureNotify:
{
if (win)
{
wxSizeEvent sizeEvent( wxSize(event->xconfigure.width,event->xconfigure.height), win->GetId() );
sizeEvent.SetEventObject( win );
win->GetEventHandler()->ProcessEvent( sizeEvent );
}
}
case ResizeRequest:
{
/* Terry Gitnick <terryg@scientech.com> - 1/21/98