Corrected scrollwin thumb release event,
Reenabled horizontal scrolling, cannot currently reproduce misbehaviour. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1726,6 +1726,7 @@ static gint gtk_scrollbar_button_press_callback( GtkRange *widget,
|
||||
if (g_isIdle)
|
||||
wxapp_install_idle_handler();
|
||||
|
||||
|
||||
g_blockEventsOnScroll = TRUE;
|
||||
win->m_isScrolling = (gdk_event->window == widget->slider);
|
||||
|
||||
@@ -1751,7 +1752,7 @@ static gint gtk_scrollbar_button_release_callback( GtkRange *widget,
|
||||
|
||||
if (win->m_isScrolling)
|
||||
{
|
||||
wxEventType command = wxEVT_SCROLL_THUMBRELEASE;
|
||||
wxEventType command = wxEVT_SCROLLWIN_THUMBRELEASE;
|
||||
int value = -1;
|
||||
int dir = -1;
|
||||
|
||||
|
Reference in New Issue
Block a user