]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected dynamic class implementation
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sun, 21 Oct 2001 12:19:12 +0000 (12:19 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sun, 21 Oct 2001 12:19:12 +0000 (12:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/frame.cpp
src/mac/frame.cpp

index 1c5f09ba7b41ee597af9c539f8a810186cc1ea42..81f6b40bee9f46a7a013a729ba0abaf77a79da35 100644 (file)
@@ -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
index 1c5f09ba7b41ee597af9c539f8a810186cc1ea42..81f6b40bee9f46a7a013a729ba0abaf77a79da35 100644 (file)
@@ -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