Added code for erasing the small square between scrollbars.

Corrected window size if scrollbars is removed/added.
  Reduce flicker in scrollbars.
  Prevent scrollbars from jumping back to original position
    if the mouse just barely left the scrollbar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-03-30 11:16:24 +00:00
parent 9d353d4a22
commit a17a79bac3
5 changed files with 72 additions and 24 deletions

View File

@@ -42,6 +42,7 @@
#include "wx/univ/renderer.h"
#include "wx/univ/inphand.h"
#include "wx/univ/theme.h"
#include "wx/log.h"
#define WXDEBUG_SCROLLBAR
@@ -388,7 +389,7 @@ void wxScrollBar::UpdateThumb()
}
#endif // WXDEBUG_SCROLLBAR
Refresh(TRUE, &rect);
Refresh(FALSE, &rect);
}
m_elementsState[n] &= ~wxCONTROL_DIRTY;