break;
case SB_THUMBTRACK:
- case SB_THUMBPOSITION:
scrollEvent = wxEVT_SCROLL_THUMBTRACK;
break;
+ case SB_THUMBPOSITION:
+ scrollEvent = wxEVT_SCROLL_THUMBRELEASE;
+ break;
+
+ case SB_ENDSCROLL:
+ scrollEvent = wxEVT_SCROLL_ENDSCROLL;
+ break;
+
default:
// unknown scroll event?
return FALSE;