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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user