Added IsScrollng() support for scroll and scrollwin events

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guillermo Rodriguez Garcia
2000-01-18 20:26:20 +00:00
parent 6ab6a43579
commit feda301187
2 changed files with 12 additions and 3 deletions

View File

@@ -3393,8 +3393,11 @@ bool wxWindow::MSWOnScroll(int orientation, WXWORD wParam,
event.m_eventType = wxEVT_SCROLLWIN_PAGEDOWN;
break;
case SB_THUMBTRACK:
case SB_THUMBPOSITION:
event.m_isScrolling = FALSE;
/* fall-through */
case SB_THUMBTRACK:
event.m_eventType = wxEVT_SCROLLWIN_THUMBTRACK;
break;