Store a pointer to the wxWindow in the wxWindowDC class

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2003-07-09 14:56:56 +00:00
parent 55c5be5e47
commit fcc9de5478
2 changed files with 6 additions and 0 deletions

View File

@@ -26,6 +26,8 @@ public:
// Create a DC corresponding to a window
wxWindowDC(wxWindow *win);
~wxWindowDC(void);
protected:
wxWindow *m_window;
};
class wxClientDC: public wxWindowDC