From 716af436dc1c86cefa211e682407b98cccff7757 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 8 Sep 2006 17:39:27 +0000 Subject: [PATCH] don't try to paint hidden windows git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dfb/dcclient.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- 2.45.2