From ac23569987239fa21c78e2fa11224760dd181adf Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 11 Oct 2008 05:18:26 +0000 Subject: [PATCH] superfluous embedding API git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/carbon/window.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/osx/carbon/window.cpp b/src/osx/carbon/window.cpp index 2a2db6407c..1c93cfa2ca 100644 --- a/src/osx/carbon/window.cpp +++ b/src/osx/carbon/window.cpp @@ -1381,13 +1381,6 @@ void wxMacControl::SetScrollThumb( wxInt32 WXUNUSED(pos), wxInt32 WXUNUSED(views // implemented in respective subclass } -void wxMacControl::AddSubWidget( wxWidgetImpl* widget ) -{ - ControlRef container = (ControlRef) GetWXWidget() ; - wxASSERT_MSG( container != NULL , wxT("No valid mac container control") ) ; - ::EmbedControl( (ControlRef) widget->GetWXWidget() , container ) ; -} - // // Tab Control // -- 2.50.0