Really remove the droppings when there are no pages

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-04-06 17:26:49 +00:00
parent 9a2fe01017
commit 2aa24b6070

View File

@ -772,7 +772,7 @@ void wxNotebook::OnSize(wxSizeEvent& event)
{
// Prevents droppings on resize, but does cause some flicker
// when there are no pages.
Refresh(false);
Refresh();
event.Skip();
return;
}