]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/scrolbar.cpp
Moved ClearModifiedStatus() to wxPropertyGridInterface
[wxWidgets.git] / src / gtk / scrolbar.cpp
index 413e8fbe3c5f5bf2bb9708d8c215fd80e66a06a2..0a76b68267b89ad6f71f5b9c79fe803b14276b4c 100644 (file)
@@ -144,6 +144,7 @@ bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
         m_widget = gtk_vscrollbar_new( (GtkAdjustment *) NULL );
     else
         m_widget = gtk_hscrollbar_new( (GtkAdjustment *) NULL );
+    g_object_ref(m_widget);
 
     m_scrollBar[0] = (GtkRange*)m_widget;