]> git.saurik.com Git - wxWidgets.git/commitdiff
silence warnings about unhandled enum value in switch
authorPaul Cornett <paulcor@bullseye.com>
Fri, 16 Nov 2012 07:30:07 +0000 (07:30 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Fri, 16 Nov 2012 07:30:07 +0000 (07:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/window.cpp

index fd7111896436cff0d3ffcc97e6f8200d149a3115..3e6bee07717b6ed33a532fc8328c06a763de0ccc 100644 (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))