X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a73bf3d98368e661b423a2d28c4234530b9a721..abb69c6c82d61cf18f14270650a68896a3d8ed47:/samples/scroll/scroll.cpp diff --git a/samples/scroll/scroll.cpp b/samples/scroll/scroll.cpp index e1eb70cf08..368a731825 100644 --- a/samples/scroll/scroll.cpp +++ b/samples/scroll/scroll.cpp @@ -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 ); }