From: Julian Smart Date: Sun, 19 Jun 2005 19:11:11 +0000 (+0000) Subject: Corrected wrong size used when refreshing notebook X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3550706df76875b741ae10e85e496da4ec30799d?ds=inline Corrected wrong size used when refreshing notebook git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/notebook.cpp b/src/msw/notebook.cpp index fdef3d8cbf..46abba6daa 100644 --- a/src/msw/notebook.cpp +++ b/src/msw/notebook.cpp @@ -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); }