// 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
// wxSlider
// ----------------------------------------------------------------------------
-class wxSlider : public wxSliderBase
+class WXDLLIMPEXP_CORE wxSlider : public wxSliderBase
{
public:
wxSlider() { }
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;