]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/checkbox.cpp
Call Dismiss rather than Show(false) on the infobar to correct the layout.
[wxWidgets.git] / src / gtk / checkbox.cpp
index 415b5c4e647c4fc209da434fbbcc4c544d88482d..f7dc166843533f4eb425e9d91d0a709334abd767 100644 (file)
@@ -131,7 +131,7 @@ bool wxCheckBox::Create(wxWindow *parent,
     else
     {
         m_widgetCheckbox = gtk_check_button_new_with_label("");
-        m_widgetLabel = GTK_BIN(m_widgetCheckbox)->child;
+        m_widgetLabel = gtk_bin_get_child(GTK_BIN(m_widgetCheckbox));
         m_widget = m_widgetCheckbox;
     }
     g_object_ref(m_widget);