]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/taborder/taborder.cpp
let GtkRange clamp scroll position
[wxWidgets.git] / samples / taborder / taborder.cpp
index 3c845c82837ff03918ee1dd57c50b84c65544d0b..820db7fc0b021a5fddc2fd8f491c15a6c1b30cc5 100644 (file)
@@ -92,11 +92,9 @@ private:
 
     void OnIdle(wxIdleEvent& event);
 
-    void DoNavigate(long flags)
+    void DoNavigate(int flags)
     {
-        wxNavigationKeyEvent event;
-        event.SetFlags(flags);
-        if ( m_panel->ProcessEvent(event) )
+        if ( m_panel->NavigateIn(flags) )
             wxLogStatus(this, _T("Navigation event processed"));
         else
             wxLogStatus(this, _T("Navigation event ignored"));