post wxUniv merge fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b142515e79
commit
8073eb4044
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user