]> git.saurik.com Git - wxWidgets.git/commitdiff
adding peer back to wxWindow
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 23 Feb 2005 15:53:06 +0000 (15:53 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 23 Feb 2005 15:53:06 +0000 (15:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/radiobox.cpp

index be78021cf1987aea1c3dc12f36c75d151bad4f69..9df4bb6cb4d419bcddbf461f07baa01eb0598029 100644 (file)
@@ -140,7 +140,7 @@ bool wxRadioBox::Create(wxWindow *parent, wxWindowID id, const wxString& label,
     if ( bounds.bottom <= bounds.top )
         bounds.bottom = bounds.top + 100 ;
 
-    m_peer = new wxMacControl() ;
+    m_peer = new wxMacControl(this) ;
 
     verify_noerr(CreateGroupBoxControl(MAC_WXHWND(parent->MacGetTopLevelWindowRef()),&bounds, CFSTR("") ,
         true /*primary*/ , m_peer->GetControlRefAddr() ) ) ;