Name and version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
// Created: 01/02/97
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Robert Roebling
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ============================================================================
|
||||
@@ -288,7 +288,7 @@ bool wxScrolledWindow::Create(wxWindow *parent,
|
||||
GtkHConnectEvent();
|
||||
|
||||
// these handlers block mouse events to any window during scrolling such as
|
||||
// motion events and prevent GTK and wxWindows from fighting over where the
|
||||
// motion events and prevent GTK and wxWidgets from fighting over where the
|
||||
// slider should be
|
||||
|
||||
gtk_signal_connect( GTK_OBJECT(scrolledWindow->vscrollbar), "button_press_event",
|
||||
@@ -562,7 +562,7 @@ void wxScrolledWindow::Scroll( int x_pos, int y_pos )
|
||||
|
||||
m_targetWindow->ScrollWindow( (old_x-m_xScrollPosition)*m_xScrollPixelsPerLine, 0 );
|
||||
|
||||
// Just update the scrollbar, don't send any wxWindows event
|
||||
// Just update the scrollbar, don't send any wxWidgets event
|
||||
GtkHDisconnectEvent();
|
||||
gtk_signal_emit_by_name( GTK_OBJECT(m_hAdjust), "value_changed" );
|
||||
GtkHConnectEvent();
|
||||
@@ -581,7 +581,7 @@ void wxScrolledWindow::Scroll( int x_pos, int y_pos )
|
||||
|
||||
m_targetWindow->ScrollWindow( 0, (old_y-m_yScrollPosition)*m_yScrollPixelsPerLine );
|
||||
|
||||
// Just update the scrollbar, don't send any wxWindows event
|
||||
// Just update the scrollbar, don't send any wxWidgets event
|
||||
GtkVDisconnectEvent();
|
||||
gtk_signal_emit_by_name( GTK_OBJECT(m_vAdjust), "value_changed" );
|
||||
GtkVConnectEvent();
|
||||
@@ -783,14 +783,14 @@ void wxScrolledWindow::SetScrollPos( int orient, int pos, bool refresh )
|
||||
{
|
||||
if (orient == wxHORIZONTAL)
|
||||
{
|
||||
// Just update the scrollbar, don't send any wxWindows event
|
||||
// Just update the scrollbar, don't send any wxWidgets event
|
||||
GtkHDisconnectEvent();
|
||||
gtk_signal_emit_by_name( GTK_OBJECT(m_hAdjust), "value_changed" );
|
||||
GtkHConnectEvent();
|
||||
}
|
||||
else
|
||||
{
|
||||
// Just update the scrollbar, don't send any wxWindows event
|
||||
// Just update the scrollbar, don't send any wxWidgets event
|
||||
GtkVDisconnectEvent();
|
||||
gtk_signal_emit_by_name( GTK_OBJECT(m_vAdjust), "value_changed" );
|
||||
GtkVConnectEvent();
|
||||
|
||||
Reference in New Issue
Block a user