add wxPseudoTransparentFrame to parent, so it doesn't get leaked

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2008-08-28 15:45:50 +00:00
parent b784691e07
commit 173d02a872

View File

@@ -257,6 +257,9 @@ public:
m_title = title;
m_widget = gtk_window_new( GTK_WINDOW_POPUP );
g_object_ref(m_widget);
if (parent) parent->AddChild(this);
g_signal_connect( m_widget, "realize",
G_CALLBACK (gtk_pseudo_window_realized_callback), this );