]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/statline.cpp
applying patch, fixes #10524
[wxWidgets.git] / src / gtk / statline.cpp
index 97bfa70cfa4a3833a159ec0a323a808a541b2490..9cb487fb6ad4d5a6ae4951cbdd84a38885b8b611 100644 (file)
@@ -65,6 +65,7 @@ bool wxStaticLine::Create( wxWindow *parent, wxWindowID id,
             SetSize( new_size );
         }
     }
             SetSize( new_size );
         }
     }
+    g_object_ref(m_widget);
 
     m_parent->DoAddChild( this );
 
 
     m_parent->DoAddChild( this );