]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/slider.cpp
Allow OS X Cocoa (or any OS X port) to override GetBestSize and provide a native...
[wxWidgets.git] / src / gtk1 / slider.cpp
index f704d408170fd600286c4482404cc88b02d16a44..7a7a4f0e6b0ac841026a1a5a12e0085706cd6381 100644 (file)
@@ -145,9 +145,9 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID id,
     m_oldPos = 0.0;
 
     if (style & wxSL_VERTICAL)
-        m_widget = gtk_vscale_new( (GtkAdjustment *) NULL );
+        m_widget = gtk_vscale_new( NULL );
     else
-        m_widget = gtk_hscale_new( (GtkAdjustment *) NULL );
+        m_widget = gtk_hscale_new( NULL );
 
     if (style & wxSL_LABELS)
     {