]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/radiobut.cpp
Unicode-related compile fixes
[wxWidgets.git] / src / gtk / radiobut.cpp
index 649a520830c38758c5cbe62e89db960369cb2aff..fc095b65387bd132d8410927d678f7bc3eb47c71 100644 (file)
@@ -83,6 +83,7 @@ bool wxRadioButton::Create( wxWindow *parent,
     }
 
     m_widget = gtk_radio_button_new_with_label( radioButtonGroup, wxGTK_CONV( label ) );
+    g_object_ref(m_widget);
 
     SetLabel(label);