]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/panelg.cpp
removed rpmfiles.lst
[wxWidgets.git] / src / generic / panelg.cpp
index 927afc68fff4886a66562c6b70a086e3012859a7..1b36dff649e2f55e6e4ce72ae86770210b0c6bb6 100644 (file)
@@ -102,11 +102,12 @@ void wxPanel::OnSysColourChanged(wxSysColourChangedEvent& event)
     wxWindow::OnSysColourChanged(event);
 }
 
     wxWindow::OnSysColourChanged(event);
 }
 
-void wxPanel::OnSize(wxSizeEvent& WXUNUSED(event))
+void wxPanel::OnSize(wxSizeEvent& event)
 {
 #if wxUSE_CONSTRAINTS
     if (GetAutoLayout())
         Layout();
 #endif // wxUSE_CONSTRAINTS
 {
 #if wxUSE_CONSTRAINTS
     if (GetAutoLayout())
         Layout();
 #endif // wxUSE_CONSTRAINTS
+    event.Skip();
 }
 
 }