From: Stefan Csomor Date: Sat, 11 Oct 2008 05:18:26 +0000 (+0000) Subject: superfluous embedding API X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ac23569987239fa21c78e2fa11224760dd181adf superfluous embedding API git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 //