X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ba4fbebbc40bdf9c140f4c9ba9977fbf810527d..72594e90b2da8c167ba63b89b2c168c57a19cab4:/include/wx/msw/dcclient.h 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();