Fixed compilation for GTK 1.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -102,7 +102,7 @@ static gint gtk_scrollbar_button_press_callback( GtkRange *widget,
|
||||
int scroll_height, mouse_pos;
|
||||
|
||||
// get the mouse position when the click is done
|
||||
if (widget->orientation == GTK_ORIENTATION_VERTICAL)
|
||||
if (win->HasFlag(wxSB_VERTICAL))
|
||||
{
|
||||
scroll_height = GTK_WIDGET(widget)->allocation.height - 16;
|
||||
mouse_pos = (int)gdk_event->y;
|
||||
|
Reference in New Issue
Block a user