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:
@@ -301,7 +301,7 @@ void MyCanvas::OnScrollWin( wxCommandEvent &WXUNUSED(event) )
|
|||||||
{
|
{
|
||||||
wxLogMessage( "Scrolling 2 units up.\nThe white square and the controls should move equally!" );
|
wxLogMessage( "Scrolling 2 units up.\nThe white square and the controls should move equally!" );
|
||||||
int x,y;
|
int x,y;
|
||||||
ViewStart( &x, &y );
|
GetViewStart( &x, &y );
|
||||||
Scroll( -1, y+2 );
|
Scroll( -1, y+2 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user