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:
@@ -26,7 +26,9 @@ public:
|
|||||||
wxWindowDC(wxWindow *win);
|
wxWindowDC(wxWindow *win);
|
||||||
|
|
||||||
protected:
|
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_DYNAMIC_CLASS(wxWindowDC)
|
||||||
DECLARE_NO_COPY_CLASS(wxWindowDC)
|
DECLARE_NO_COPY_CLASS(wxWindowDC)
|
||||||
|
Reference in New Issue
Block a user