]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/calctrl.cpp
set icons bundle, not single icon, for frames loaded from XRC
[wxWidgets.git] / src / gtk / calctrl.cpp
index 313a3e3dc6091498fc390fdfca6070d4e74990cb..2da9293d0bb3f35f1272bcf9e0f50dac88e79557 100644 (file)
@@ -88,6 +88,7 @@ bool wxGtkCalendarCtrl::Create(wxWindow *parent,
     }
 
     m_widget = gtk_calendar_new();
+    g_object_ref(m_widget);
     SetDate(date.IsValid() ? date : wxDateTime::Today());
 
     if (style & wxCAL_NO_MONTH_CHANGE)