public:
- wxScrollBar(void) { m_adjust = NULL; m_oldPos = 0.0; };
- wxScrollBar(wxWindow *parent, wxWindowID id,
+ wxScrollBar(void) { m_adjust = (GtkAdjustment *) NULL; m_oldPos = 0.0; };
+ inline wxScrollBar( wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxSB_HORIZONTAL,
- const wxString& name = wxScrollBarNameStr );
- ~wxScrollBar(void);
- bool Create(wxWindow *parent, wxWindowID id,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxScrollBarNameStr )
+ {
+ Create( parent, id, pos, size, style, validator, name );
+ }
+ bool Create( wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxSB_HORIZONTAL,
- const wxString& name = wxScrollBarNameStr);
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxScrollBarNameStr );
+ ~wxScrollBar(void);
int GetPosition(void) const;
int GetThumbSize() const;
int GetPageSize() const;
void SetObjectLength( int objectLength );
void SetViewLength( int viewLength );
- public:
+ // implementation
+
+ bool IsOwnGtkWindow( GdkWindow *window );
GtkAdjustment *m_adjust;
float m_oldPos;