X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6ca41e57f48db4c1a2de7ae67c7e4b655d9809af..7aa88ac4af764fa92c781056bc23103cadea21a4:/src/gtk1/radiobox.cpp diff --git a/src/gtk1/radiobox.cpp b/src/gtk1/radiobox.cpp index 2547f4e97f..c1f3fcc165 100644 --- a/src/gtk1/radiobox.cpp +++ b/src/gtk1/radiobox.cpp @@ -159,8 +159,9 @@ bool wxRadioBox::Create( wxWindow *parent, wxWindowID id, const wxString& title, if (newSize.y == -1) newSize.y = height; SetSize( newSize.x, newSize.y ); - gtk_myfixed_put( GTK_MYFIXED(m_parent->m_wxwindow), m_widget, m_x, m_y ); - gtk_widget_set_usize( m_widget, m_width, m_height ); + m_parent->AddChild( this ); + + (m_parent->m_insertCallback)( m_parent, this ); PostCreation();