removed all compile- and run-time checks for GTK+ < 2.4; don't include the generic files which are now never used in wxGTK in the build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1453,10 +1453,7 @@ gtk_window_button_press_callback( GtkWidget *widget,
|
||||
|
||||
wxEventType event_type = wxEVT_NULL;
|
||||
|
||||
// GdkDisplay is a GTK+ 2.2.0 thing
|
||||
#if defined(__WXGTK20__) && GTK_CHECK_VERSION(2, 2, 0)
|
||||
if ( gdk_event->type == GDK_2BUTTON_PRESS &&
|
||||
!gtk_check_version(2,2,0) &&
|
||||
gdk_event->button >= 1 && gdk_event->button <= 3 )
|
||||
{
|
||||
// Reset GDK internal timestamp variables in order to disable GDK
|
||||
@@ -1466,7 +1463,6 @@ gtk_window_button_press_callback( GtkWidget *widget,
|
||||
display->button_click_time[1] = 0;
|
||||
display->button_click_time[0] = 0;
|
||||
}
|
||||
#endif // GTK 2+
|
||||
|
||||
if (gdk_event->button == 1)
|
||||
{
|
||||
|
Reference in New Issue
Block a user