X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4071e913e85e35024ee5883a0a046f0fd6332bf..f8c4475a3e579655f6a962822824596a7a9cfb66:/include/wx/gtk1/slider.h?ds=sidebyside diff --git a/include/wx/gtk1/slider.h b/include/wx/gtk1/slider.h index f683919642..aa8f0f969e 100644 --- a/include/wx/gtk1/slider.h +++ b/include/wx/gtk1/slider.h @@ -2,13 +2,11 @@ // Name: slider.h // Purpose: // Author: Robert Roebling -// Created: 01/02/97 -// Id: +// Id: $Id$ // Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - #ifndef __GTKSLIDERH__ #define __GTKSLIDERH__ @@ -17,6 +15,9 @@ #endif #include "wx/defs.h" + +#if wxUSE_SLIDER + #include "wx/object.h" #include "wx/list.h" #include "wx/control.h" @@ -63,9 +64,6 @@ class wxSlider: public wxControl const wxString& name = wxSliderNameStr ); virtual int GetValue(void) const; virtual void SetValue( int ); - void GetSize( int *x, int *y ) const; - void SetSize( int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO ); - void GetPosition( int *x, int *y ) const; void SetRange( int minValue, int maxValue ); int GetMin(void) const; int GetMax(void) const; @@ -87,10 +85,13 @@ class wxSlider: public wxControl // implementation bool IsOwnGtkWindow( GdkWindow *window ); + void ApplyWidgetStyle(); GtkAdjustment *m_adjust; float m_oldPos; }; +#endif + #endif // __GTKSLIDERH__