From: Gilles Depeyrot Date: Sun, 21 Oct 2001 12:19:12 +0000 (+0000) Subject: corrected dynamic class implementation X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ac0fa9eff8c1137564bcd88084e3c1cdac54b679 corrected dynamic class implementation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/frame.cpp b/src/mac/carbon/frame.cpp index 1c5f09ba7b..81f6b40bee 100644 --- a/src/mac/carbon/frame.cpp +++ b/src/mac/carbon/frame.cpp @@ -37,7 +37,7 @@ BEGIN_EVENT_TABLE(wxFrame, wxFrameBase) // EVT_CLOSE(wxFrame::OnCloseWindow) END_EVENT_TABLE() -IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxWindow) +IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow) #endif #if wxUSE_NATIVE_STATUSBAR diff --git a/src/mac/frame.cpp b/src/mac/frame.cpp index 1c5f09ba7b..81f6b40bee 100644 --- a/src/mac/frame.cpp +++ b/src/mac/frame.cpp @@ -37,7 +37,7 @@ BEGIN_EVENT_TABLE(wxFrame, wxFrameBase) // EVT_CLOSE(wxFrame::OnCloseWindow) END_EVENT_TABLE() -IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxWindow) +IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow) #endif #if wxUSE_NATIVE_STATUSBAR