]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/taskbar.cpp
added wxPropertyGrid from Jaakko Salli (#9934)
[wxWidgets.git] / src / gtk / taskbar.cpp
index 8035e5b3424ab6d59be2f2da24a9da3bbe2e7951..80bfd6b119dcebb03b89a2ef53f6bf55867374a8 100644 (file)
@@ -32,6 +32,7 @@ wxTaskBarIconAreaBase::wxTaskBarIconAreaBase()
     if (IsProtocolSupported())
     {
         m_widget = GTK_WIDGET(egg_tray_icon_new("systray icon"));
+        g_object_ref(m_widget);
         gtk_window_set_resizable(GTK_WINDOW(m_widget), false);
 
         wxLogTrace(_T("systray"), _T("using freedesktop.org systray spec"));