]> git.saurik.com Git - wxWidgets.git/blobdiff - src/aui/framemanager.cpp
WinCE compilation fix: don't use FNERR_INVALIDFILENAME
[wxWidgets.git] / src / aui / framemanager.cpp
index 8961b4f86e953869bb433f32b5e83515bb5a8b03..fb46813dba2591c1b98e4d3533dcf7c1b1ae91b4 100644 (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 );