X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..39de6d6ca1dd08e07d7a71581eaa22cd1ece836d:/include/wx/gtk/slider.h diff --git a/include/wx/gtk/slider.h b/include/wx/gtk/slider.h index 9d39beeb0a..7c1ab92185 100644 --- a/include/wx/gtk/slider.h +++ b/include/wx/gtk/slider.h @@ -3,14 +3,14 @@ // 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__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif @@ -18,7 +18,7 @@ // wxSlider // ---------------------------------------------------------------------------- -class wxSlider : public wxSliderBase +class WXDLLIMPEXP_CORE wxSlider : public wxSliderBase { public: wxSlider() { } @@ -60,11 +60,13 @@ public: virtual void SetThumbLength(int lenPixels); virtual int GetThumbLength() const; + 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;