Corrected wrong size used when refreshing notebook

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-06-19 19:11:11 +00:00
parent deb0a813ea
commit 3550706df7

View File

@@ -941,7 +941,7 @@ void wxNotebook::OnSize(wxSizeEvent& event)
RefreshRect(wxRect(0, rc.top, rc.left, height), false);
RefreshRect(wxRect(0, rc.bottom, widthNbook, heightNbook - rc.bottom),
false);
RefreshRect(wxRect(rc.right, rc.top, widthNbook - rc.bottom, height),
RefreshRect(wxRect(rc.right, rc.top, widthNbook - rc.right, height),
false);
}