]> git.saurik.com Git - wxWidgets.git/commitdiff
post wxUniv merge fix
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sun, 22 Jul 2001 17:09:23 +0000 (17:09 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sun, 22 Jul 2001 17:09:23 +0000 (17:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/scroll/scroll.cpp

index e1eb70cf08571941a5183eee87b6c0770307b6e8..368a73182584e5d2b4571dec81f1c0ffb1b4bfa5 100644 (file)
@@ -301,7 +301,7 @@ void MyCanvas::OnScrollWin( wxCommandEvent &WXUNUSED(event) )
 {
     wxLogMessage( "Scrolling 2 units up.\nThe white square and the controls should move equally!" );
     int x,y;
-    ViewStart( &x, &y );
+    GetViewStart( &x, &y );
     Scroll( -1, y+2 );
 }