]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/scrolbar.cpp
IRIX compilation fix: don't redeclare usleep() if HAVE_USLEEP is defined
[wxWidgets.git] / src / gtk1 / scrolbar.cpp
index 6dcd71ec52c1cf16b1a9837e02189e8fd015c646..af054a217cc0f79b21157784e82f4cb4f752411c 100644 (file)
@@ -20,9 +20,7 @@
 #include "wx/scrolbar.h"
 
 #include "wx/utils.h"
-
-#include <math.h>
-
+#include "wx/math.h"
 #include "wx/gtk/private.h"
 
 //-----------------------------------------------------------------------------
@@ -325,12 +323,6 @@ bool wxScrollBar::IsOwnGtkWindow( GdkWindow *window )
            );
 }
 
-void wxScrollBar::ApplyWidgetStyle()
-{
-    SetWidgetStyle();
-    gtk_widget_set_style( m_widget, m_widgetStyle );
-}
-
 wxSize wxScrollBar::DoGetBestSize() const
 {
     return wxControl::DoGetBestSize();