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