silence warnings about unhandled enum value in switch

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett 2012-11-16 07:30:07 +00:00
parent 4acce08799
commit 070bae64c4

View File

@ -1641,7 +1641,10 @@ window_scroll_event(GtkWidget*, GdkEventScroll* gdk_event, wxWindow* win)
case GDK_SCROLL_LEFT:
event.m_wheelRotation = -120;
break;
#if GTK_CHECK_VERSION(3,4,0)
case GDK_SCROLL_SMOOTH:
// TODO
#endif
default:
return false; // Unknown/unhandled direction
}
@ -1658,6 +1661,11 @@ window_scroll_event(GtkWidget*, GdkEventScroll* gdk_event, wxWindow* win)
case GDK_SCROLL_RIGHT:
event.m_wheelAxis = wxMOUSE_WHEEL_HORIZONTAL;
break;
#if GTK_CHECK_VERSION(3,4,0)
case GDK_SCROLL_SMOOTH:
// TODO
break;
#endif
}
if (win->GTKProcessEvent(event))