+ return;
+ }
+
+ int xScroll = GetScrollPos(wxHORIZONTAL);
+ if ( xScroll != xScrollOld )
+ {
+ wxScrollWinEvent event(wxEVT_SCROLLWIN_THUMBTRACK, xScroll,
+ wxHORIZONTAL);
+ event.SetEventObject(this);
+ GetEventHandler()->ProcessEvent(event);
+ }
+
+ int yScroll = GetScrollPos(wxVERTICAL);
+ if ( yScroll != yScrollOld )
+ {
+ wxScrollWinEvent event(wxEVT_SCROLLWIN_THUMBTRACK, yScroll,
+ wxVERTICAL);
+ event.SetEventObject(this);
+ GetEventHandler()->ProcessEvent(event);