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:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user