]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/gauge.cpp
adding explicit log.h include
[wxWidgets.git] / src / gtk / gauge.cpp
index aaa124506cabbb677509cb9c73f52c164a3d83df..2d299229385a1fa3052e46cac5bdc21487bb60a2 100644 (file)
@@ -41,6 +41,7 @@ bool wxGauge::Create( wxWindow *parent,
     m_rangeMax = range;
 
     m_widget = gtk_progress_bar_new();
+    g_object_ref(m_widget);
     if ( style & wxGA_VERTICAL )
     {
         gtk_progress_bar_set_orientation( GTK_PROGRESS_BAR(m_widget),