]> git.saurik.com Git - wxWidgets.git/commitdiff
wxX11:
authorRobert Roebling <robert@roebling.de>
Mon, 11 Feb 2002 22:46:43 +0000 (22:46 +0000)
committerRobert Roebling <robert@roebling.de>
Mon, 11 Feb 2002 22:46:43 +0000 (22:46 +0000)
     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

src/x11/app.cpp

index 5e206eea7da29fd570d5a9360710a934d537452a..c21c217a82574af1ce79911b25f5c88878ceecd0 100644 (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