restored defaults in switchs removed in the last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2004-02-10 19:30:20 +00:00
parent 78f1210463
commit b1f50e652c
2 changed files with 20 additions and 0 deletions

View File

@ -1552,6 +1552,10 @@ static gint gtk_window_button_press_callback( GtkWidget *widget,
case GDK_2BUTTON_PRESS:
event_type = wxEVT_LEFT_DCLICK;
break;
default:
// just to silence gcc warnings
;
}
}
else if (gdk_event->button == 2)
@ -1565,6 +1569,9 @@ static gint gtk_window_button_press_callback( GtkWidget *widget,
case GDK_2BUTTON_PRESS:
event_type = wxEVT_MIDDLE_DCLICK;
break;
default:
;
}
}
else if (gdk_event->button == 3)
@ -1578,6 +1585,9 @@ static gint gtk_window_button_press_callback( GtkWidget *widget,
case GDK_2BUTTON_PRESS:
event_type = wxEVT_RIGHT_DCLICK;
break;
default:
;
}
}
else if (gdk_event->button == 4 || gdk_event->button == 5)

View File

@ -1552,6 +1552,10 @@ static gint gtk_window_button_press_callback( GtkWidget *widget,
case GDK_2BUTTON_PRESS:
event_type = wxEVT_LEFT_DCLICK;
break;
default:
// just to silence gcc warnings
;
}
}
else if (gdk_event->button == 2)
@ -1565,6 +1569,9 @@ static gint gtk_window_button_press_callback( GtkWidget *widget,
case GDK_2BUTTON_PRESS:
event_type = wxEVT_MIDDLE_DCLICK;
break;
default:
;
}
}
else if (gdk_event->button == 3)
@ -1578,6 +1585,9 @@ static gint gtk_window_button_press_callback( GtkWidget *widget,
case GDK_2BUTTON_PRESS:
event_type = wxEVT_RIGHT_DCLICK;
break;
default:
;
}
}
else if (gdk_event->button == 4 || gdk_event->button == 5)