X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ba4fbebbc40bdf9c140f4c9ba9977fbf810527d..2b260bc3e2f269de090eefdaefc1450207a7734e:/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();