X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19193a2c85987b595932957e73013e7ea100f0e8..050c9e3c90c58b05d5b3f7384d1556ca9669f13e:/src/generic/panelg.cpp diff --git a/src/generic/panelg.cpp b/src/generic/panelg.cpp index 927afc68ff..1b36dff649 100644 --- a/src/generic/panelg.cpp +++ b/src/generic/panelg.cpp @@ -102,11 +102,12 @@ void wxPanel::OnSysColourChanged(wxSysColourChangedEvent& event) wxWindow::OnSysColourChanged(event); } -void wxPanel::OnSize(wxSizeEvent& WXUNUSED(event)) +void wxPanel::OnSize(wxSizeEvent& event) { #if wxUSE_CONSTRAINTS if (GetAutoLayout()) Layout(); #endif // wxUSE_CONSTRAINTS + event.Skip(); }