/////////////////////////////////////////////////////////////////////////////
-// Name: scrolbar.h
+// Name: wx/gtk1/scrolbar.h
// Purpose:
// Author: Robert Roebling
// Id: $Id$
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-
#ifndef __GTKSCROLLBARH__
#define __GTKSCROLLBARH__
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface "scrolbar.h"
-#endif
-
#include "wx/defs.h"
//-----------------------------------------------------------------------------
// classes
//-----------------------------------------------------------------------------
-class wxScrollBar;
+class WXDLLIMPEXP_FWD_CORE wxScrollBar;
//-----------------------------------------------------------------------------
// wxScrollBar
//-----------------------------------------------------------------------------
-class wxScrollBar: public wxScrollBarBase
+class WXDLLIMPEXP_CORE wxScrollBar: public wxScrollBarBase
{
public:
wxScrollBar()
long style = wxSB_HORIZONTAL,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxScrollBarNameStr );
- ~wxScrollBar();
+ virtual ~wxScrollBar();
int GetThumbPosition() const;
int GetThumbSize() const;
int GetPageSize() const;
void SetObjectLength( int objectLength );
void SetViewLength( int viewLength );
+ static wxVisualAttributes
+ GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+
// implementation
// --------------
bool IsOwnGtkWindow( GdkWindow *window );
- void ApplyWidgetStyle();
GtkAdjustment *m_adjust;
float m_oldPos;