X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ba4fbebbc40bdf9c140f4c9ba9977fbf810527d..c48926e149739055b0ed978d9e893f7898a51a73:/include/wx/msw/dcclient.h?ds=sidebyside diff --git a/include/wx/msw/dcclient.h b/include/wx/msw/dcclient.h index 6e665dc436..0c2cca0585 100644 --- a/include/wx/msw/dcclient.h +++ b/include/wx/msw/dcclient.h @@ -62,11 +62,16 @@ public: // Create a DC corresponding to the client area of the window wxClientDC(wxWindow *win); + virtual ~wxClientDC(); + +protected: + void InitDC(); + private: DECLARE_DYNAMIC_CLASS(wxClientDC) }; -class WXDLLEXPORT wxPaintDC : public wxWindowDC +class WXDLLEXPORT wxPaintDC : public wxClientDC { public: wxPaintDC();