X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..a4f6fe43c33bd7933645d110ad2719871dab043d:/include/wx/gtk1/slider.h diff --git a/include/wx/gtk1/slider.h b/include/wx/gtk1/slider.h index 9d39beeb0a..1132e88eb5 100644 --- a/include/wx/gtk1/slider.h +++ b/include/wx/gtk1/slider.h @@ -1,24 +1,20 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/gtk/slider.h +// Name: wx/gtk1/slider.h // Purpose: // Author: Robert Roebling // Id: $Id$ -// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem +// Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __GTKSLIDERH__ #define __GTKSLIDERH__ -#ifdef __GNUG__ -#pragma interface -#endif - // ---------------------------------------------------------------------------- // wxSlider // ---------------------------------------------------------------------------- -class wxSlider : public wxSliderBase +class WXDLLIMPEXP_CORE wxSlider : public wxSliderBase { public: wxSlider() { } @@ -60,11 +56,13 @@ public: virtual void SetThumbLength(int lenPixels); virtual int GetThumbLength() const; - // implementation - // -------------- + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + // implementation bool IsOwnGtkWindow( GdkWindow *window ); - void ApplyWidgetStyle(); + void GtkDisableEvents(); + void GtkEnableEvents(); GtkAdjustment *m_adjust; float m_oldPos;