]> git.saurik.com Git - wxWidgets.git/commitdiff
don't try to paint hidden windows
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 8 Sep 2006 17:39:27 +0000 (17:39 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 8 Sep 2006 17:39:27 +0000 (17:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dfb/dcclient.h

index 5f1d7672e21148572fe7c8eb6d9d1ee18fa4c97d..aac9a933c9dcf21f92469e2e96e5c65d1e081ded 100644 (file)
@@ -26,7 +26,9 @@ public:
     wxWindowDC(wxWindow *win);
 
 protected:
-    void InitForWin(wxWindow *win);
+    // initializes the DC for painting on given window; if rect!=NULL, then
+    // for painting only on the given region of the window
+    void InitForWin(wxWindow *win, const wxRect *rect);
 
     DECLARE_DYNAMIC_CLASS(wxWindowDC)
     DECLARE_NO_COPY_CLASS(wxWindowDC)