]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed wxRegionIterator example
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 27 Feb 2003 00:18:43 +0000 (00:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 27 Feb 2003 00:18:43 +0000 (00:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/paintevt.tex

index afe74a5be906f9f062cae3d9868b343f73023915..6fb8a7d211a8da26d602507d273ced82429bce9a 100644 (file)
@@ -74,8 +74,7 @@ void MyWindow::OnPaint(wxPaintEvent\& event)
     vH = upd.GetH();
 
     // Alternatively we can do this:
-    // wxRect rect;
-    // upd.GetRect(&rect);
+    // wxRect rect(upd.GetRect());
 
     // Repaint this rectangle
     ...some code...