X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8375af8ff97a3649361b988a40b991a8cdaab09..713c7336f2c96b1deddd24ec38b2a094705635b9:/src/gtk/statline.cpp diff --git a/src/gtk/statline.cpp b/src/gtk/statline.cpp index 97bfa70cfa..9cb487fb6a 100644 --- a/src/gtk/statline.cpp +++ b/src/gtk/statline.cpp @@ -65,6 +65,7 @@ bool wxStaticLine::Create( wxWindow *parent, wxWindowID id, SetSize( new_size ); } } + g_object_ref(m_widget); m_parent->DoAddChild( this );