X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6de97a3b945c99fb942209df48be26f43c1b436d..88db66e3734d7dc8bdc965bd03e8512b64b8a48a:/src/gtk1/slider.cpp?ds=sidebyside diff --git a/src/gtk1/slider.cpp b/src/gtk1/slider.cpp index 01440975b1..83c33ce33d 100644 --- a/src/gtk1/slider.cpp +++ b/src/gtk1/slider.cpp @@ -83,9 +83,9 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID id, m_oldPos = 0.0; if (style & wxSL_VERTICAL == wxSL_VERTICAL) - m_widget = gtk_hscale_new( NULL ); + m_widget = gtk_hscale_new( (GtkAdjustment *) NULL ); else - m_widget = gtk_vscale_new( NULL ); + m_widget = gtk_vscale_new( (GtkAdjustment *) NULL ); m_adjust = gtk_range_get_adjustment( GTK_RANGE(m_widget) );