]> git.saurik.com Git - wxWidgets.git/commitdiff
Corrected wrong size used when refreshing notebook
authorJulian Smart <julian@anthemion.co.uk>
Sun, 19 Jun 2005 19:11:11 +0000 (19:11 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 19 Jun 2005 19:11:11 +0000 (19:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/notebook.cpp

index fdef3d8cbfa13158ecb733387cb6de20fe17836b..46abba6daa5955e51e2fdadf66db6ff3623ea6cf 100644 (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);
     }