X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/925f7740663f38ed8296ddb247754a9d62152aea..2d6dd9c09e7084d402fc923d2f09d8b7158a1a04:/include/wx/motif/dcclient.h diff --git a/include/wx/motif/dcclient.h b/include/wx/motif/dcclient.h index 5a00c3cd2f..2208d7c829 100644 --- a/include/wx/motif/dcclient.h +++ b/include/wx/motif/dcclient.h @@ -36,7 +36,7 @@ public: wxWindowDC(); wxWindowDC( wxWindow *win ); - ~wxWindowDC(); + virtual ~wxWindowDC(); // TODO this function is Motif-only for now - should it go into base class? void Clear(const wxRect& rect); @@ -174,7 +174,7 @@ public: wxPaintDC() { } wxPaintDC(wxWindow* win); - ~wxPaintDC(); + virtual ~wxPaintDC(); }; class WXDLLEXPORT wxClientDC: public wxWindowDC