X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/357b1b5292715d8982e52603caeb5bca9553b525..f487501a2c84aa5053b5c3ea57fa2627bac25041:/src/gtk/statbox.cpp diff --git a/src/gtk/statbox.cpp b/src/gtk/statbox.cpp index 7115010262..20326248c2 100644 --- a/src/gtk/statbox.cpp +++ b/src/gtk/statbox.cpp @@ -78,6 +78,7 @@ bool wxStaticBox::Create( wxWindow *parent, } m_widget = GTKCreateFrame(label); + g_object_ref(m_widget); // only base SetLabel needs to be called after GTKCreateFrame wxControl::SetLabel(label);