]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected MSW-specific bug (in the sample, not the scrolling code)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 23 May 1999 23:43:59 +0000 (23:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 23 May 1999 23:43:59 +0000 (23:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/scroll/scroll.cpp

index 901197db71ef49ae496d4744eab80160091a6c4f..0199afdea35c0785347314c89c6fd7f4e4d4a07b 100644 (file)
@@ -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 );
 }