X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d8737fdcceb7662e6ecc7b1a76f0107cde9d724..0326d9689eb518ff3d8070cd83ea1d36a6f3324f:/include/wx/docmdi.h diff --git a/include/wx/docmdi.h b/include/wx/docmdi.h index 1e3047bdd8..f4922834d8 100644 --- a/include/wx/docmdi.h +++ b/include/wx/docmdi.h @@ -75,7 +75,7 @@ class WXDLLEXPORT wxDocMDIChildFrame: public wxMDIChildFrame inline wxView *GetView(void) const { return m_childView; } inline void SetDocument(wxDocument *doc) { m_childDocument = doc; } inline void SetView(wxView *view) { m_childView = view; } - bool Destroy() { m_childView = (wxView *)NULL; return wxFrame::Destroy(); } + bool Destroy() { m_childView = (wxView *)NULL; return wxMDIChildFrame::Destroy(); } protected: wxDocument* m_childDocument; wxView* m_childView;