don't try to paint hidden windows

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2006-09-08 17:39:27 +00:00
parent 071f5576a0
commit 716af436dc

View 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)