X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..df18cc7aa1afdbe74d4b8e398d12ef34d1e78b5c:/include/wx/x11/reparent.h diff --git a/include/wx/x11/reparent.h b/include/wx/x11/reparent.h index 1d6494a8ab..b795e725f2 100644 --- a/include/wx/x11/reparent.h +++ b/include/wx/x11/reparent.h @@ -57,7 +57,7 @@ class WXDLLIMPEXP_CORE wxAdoptedWindow: public wxWindow public: wxAdoptedWindow(); wxAdoptedWindow(WXWindow window); - ~wxAdoptedWindow(); + virtual ~wxAdoptedWindow(); void SetHandle(WXWindow window) { m_mainWindow = window; m_clientWindow = window; } WXWindow GetHandle() const { return GetMainWindow(); }