From: Václav Slavík Date: Fri, 8 Sep 2006 17:39:27 +0000 (+0000) Subject: don't try to paint hidden windows X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/716af436dc1c86cefa211e682407b98cccff7757 don't try to paint hidden windows git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dfb/dcclient.h b/include/wx/dfb/dcclient.h index 5f1d7672e2..aac9a933c9 100644 --- a/include/wx/dfb/dcclient.h +++ b/include/wx/dfb/dcclient.h @@ -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)