wxPanel::OnSize must call event.Skip(), otherwise scrollbars won't work in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
185d0094f8
commit
28edd9ef20
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user