X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f02a879ed7efc5fcf6328ff47a1352ec82812b7..fe8635a7e78715344f0f4b6abc9d797931429333:/include/wx/mac/carbon/mdi.h diff --git a/include/wx/mac/carbon/mdi.h b/include/wx/mac/carbon/mdi.h index 2bb1d94beb..7739d6e876 100644 --- a/include/wx/mac/carbon/mdi.h +++ b/include/wx/mac/carbon/mdi.h @@ -41,7 +41,7 @@ public: Create(parent, id, title, pos, size, style, name); } - ~wxMDIParentFrame(); + virtual ~wxMDIParentFrame(); bool Create(wxWindow *parent, wxWindowID id, @@ -129,7 +129,7 @@ public: Create(parent, id, title, pos, size, style, name); } - ~wxMDIChildFrame(); + virtual ~wxMDIChildFrame(); bool Create(wxMDIParentFrame *parent, wxWindowID id, @@ -174,7 +174,7 @@ class WXDLLEXPORT wxMDIClientWindow: public wxWindow CreateClient(parent, style); } - ~wxMDIClientWindow(); + virtual ~wxMDIClientWindow(); // Note: this is virtual, to allow overridden behaviour. virtual bool CreateClient(wxMDIParentFrame *parent, long style = wxVSCROLL | wxHSCROLL);