]> git.saurik.com Git - wxWidgets.git/commitdiff
superfluous embedding API
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 11 Oct 2008 05:18:26 +0000 (05:18 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 11 Oct 2008 05:18:26 +0000 (05:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/carbon/window.cpp

index 2a2db6407cfe57b051ffc97026cc39d931a6f3f8..1c93cfa2ca5c9fa63f6f32d5de45042379a2a266 100644 (file)
@@ -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
 //