X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/937013e0fd914d4c42f9f5ec98da665986b93dfa..5a900d5050e740809e373c5b402d5706c67a08ac:/src/gtk1/scrolbar.cpp diff --git a/src/gtk1/scrolbar.cpp b/src/gtk1/scrolbar.cpp index ea6a98e71f..82ad187aa6 100644 --- a/src/gtk1/scrolbar.cpp +++ b/src/gtk1/scrolbar.cpp @@ -188,9 +188,9 @@ bool wxScrollBar::Create(wxWindow *parent, wxWindowID id, m_oldPos = 0.0; if ((style & wxSB_VERTICAL) == wxSB_VERTICAL) - m_widget = gtk_vscrollbar_new( (GtkAdjustment *) NULL ); + m_widget = gtk_vscrollbar_new( NULL ); else - m_widget = gtk_hscrollbar_new( (GtkAdjustment *) NULL ); + m_widget = gtk_hscrollbar_new( NULL ); m_adjust = gtk_range_get_adjustment( GTK_RANGE(m_widget) );