Added wxEVT_SCROLL[WIN]_THUMBRELEASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1615,7 +1615,7 @@ static gint gtk_scrollbar_button_release_callback( GtkRange *widget,
|
||||
|
||||
if (win->m_isScrolling)
|
||||
{
|
||||
wxEventType command = wxEVT_SCROLLWIN_THUMBTRACK;
|
||||
wxEventType command = wxEVT_SCROLLWIN_THUMBRELEASE;
|
||||
int value = -1;
|
||||
int dir = -1;
|
||||
|
||||
@@ -1632,7 +1632,6 @@ static gint gtk_scrollbar_button_release_callback( GtkRange *widget,
|
||||
}
|
||||
|
||||
wxScrollWinEvent event( command, value, dir );
|
||||
event.SetScrolling( FALSE );
|
||||
event.SetEventObject( win );
|
||||
win->GetEventHandler()->ProcessEvent( event );
|
||||
}
|
||||
|
Reference in New Issue
Block a user