From: Robert Roebling Date: Mon, 11 Feb 2002 22:46:43 +0000 (+0000) Subject: wxX11: X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c31a82c10db89f76394d1e33ada49696980d8daf wxX11: 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 --- diff --git a/src/x11/app.cpp b/src/x11/app.cpp index 5e206eea7d..c21c217a82 100644 --- a/src/x11/app.cpp +++ b/src/x11/app.cpp @@ -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 - 1/21/98