From 7f539e8a667ea44c81c223d843a8ab933676c4d5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 23 May 1999 23:43:59 +0000 Subject: [PATCH] corrected MSW-specific bug (in the sample, not the scrolling code) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/scroll/scroll.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/samples/scroll/scroll.cpp b/samples/scroll/scroll.cpp index 901197db71..0199afdea3 100644 --- a/samples/scroll/scroll.cpp +++ b/samples/scroll/scroll.cpp @@ -107,12 +107,10 @@ MyCanvas::~MyCanvas() void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) ) { - return; - wxPaintDC dc( this ); PrepareDC( dc ); - dc.DrawText( "Some text", 10, 10 ); + dc.DrawText( "Some text", 110, 10 ); dc.DrawRectangle( 50, 30, 200, 200 ); } -- 2.45.2