]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/slider.cpp
wake up corrections : correcting ref count (mem-leak) , keeping weak ref to avoid...
[wxWidgets.git] / src / gtk / slider.cpp
index e7079c5c1018e46500b5fa262d1190f1bb368a49..740a202322858269c2e47c960ee08517641b3102 100644 (file)
@@ -19,9 +19,7 @@
 #if wxUSE_SLIDER
 
 #include "wx/utils.h"
-
-#include <math.h>
-
+#include "wx/math.h"
 #include "wx/gtk/private.h"
 
 //-----------------------------------------------------------------------------
@@ -265,12 +263,6 @@ bool wxSlider::IsOwnGtkWindow( GdkWindow *window )
 #endif
 }
 
-void wxSlider::ApplyWidgetStyle()
-{
-    SetWidgetStyle();
-    gtk_widget_set_style( m_widget, m_widgetStyle );
-}
-
 void wxSlider::GtkDisableEvents()
 {
     gtk_signal_disconnect_by_func( GTK_OBJECT(m_adjust),