]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/stattext.cpp
correct typo in one of the last changes
[wxWidgets.git] / src / gtk / stattext.cpp
index e0d277d91be0632e3d248bcdab5f3017b0dec30d..e9366a1e380a65095122356967bfcac5c7c14dde 100644 (file)
@@ -52,6 +52,7 @@ bool wxStaticText::Create(wxWindow *parent,
     }
 
     m_widget = gtk_label_new(NULL);
+    g_object_ref(m_widget);
 
     GtkJustification justify;
     if ( style & wxALIGN_CENTER_HORIZONTAL )