X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8375af8ff97a3649361b988a40b991a8cdaab09..b00403b401b75f95b6984cf5d0f6d71492f0a1f9:/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 );