]> git.saurik.com Git - wxWidgets.git/commitdiff
Yes, two more bugs killed.
authorRobert Roebling <robert@roebling.de>
Mon, 9 Nov 1998 19:44:29 +0000 (19:44 +0000)
committerRobert Roebling <robert@roebling.de>
Mon, 9 Nov 1998 19:44:29 +0000 (19:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/radiobox.cpp
src/gtk/radiobut.cpp
src/gtk1/radiobox.cpp
src/gtk1/radiobut.cpp

index 2547f4e97fd0344f6f74b9e92d5774d5e8b315e0..c1f3fcc165742d2fd1fceef5b56c96cd4e7fef4f 100644 (file)
@@ -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();
   
index 3936fb8ad7e03583ed74c5ecd62367839271622b..e42dcfd56b038eed016a1b4a4880a6bdd9dff56b 100644 (file)
@@ -60,8 +60,9 @@ bool wxRadioButton::Create( wxWindow *parent, wxWindowID id, const wxString& lab
   gtk_signal_connect( GTK_OBJECT(m_widget), "clicked", 
     GTK_SIGNAL_FUNC(gtk_radiobutton_clicked_callback), (gpointer*)this );
        
-  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();
 
index 2547f4e97fd0344f6f74b9e92d5774d5e8b315e0..c1f3fcc165742d2fd1fceef5b56c96cd4e7fef4f 100644 (file)
@@ -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();
   
index 3936fb8ad7e03583ed74c5ecd62367839271622b..e42dcfd56b038eed016a1b4a4880a6bdd9dff56b 100644 (file)
@@ -60,8 +60,9 @@ bool wxRadioButton::Create( wxWindow *parent, wxWindowID id, const wxString& lab
   gtk_signal_connect( GTK_OBJECT(m_widget), "clicked", 
     GTK_SIGNAL_FUNC(gtk_radiobutton_clicked_callback), (gpointer*)this );
        
-  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();