]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/notebook.cpp
compilation fix for wxUSE_LOGWINDOW==0
[wxWidgets.git] / 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);
     }