]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/radiobox.cpp
added wxHeaderCtrl::ResetColumnsOrder() function; use it from wxGrid
[wxWidgets.git] / src / gtk / radiobox.cpp
index 15dd404b7dc91f85217d634627f758bd843774e6..33f01ccb61e1bd8be181309cdfd2663913109467 100644 (file)
@@ -224,6 +224,7 @@ bool wxRadioBox::Create( wxWindow *parent, wxWindowID id, const wxString& title,
     }
 
     m_widget = GTKCreateFrame(title);
     }
 
     m_widget = GTKCreateFrame(title);
+    g_object_ref(m_widget);
     wxControl::SetLabel(title);
     if ( HasFlag(wxNO_BORDER) )
     {
     wxControl::SetLabel(title);
     if ( HasFlag(wxNO_BORDER) )
     {