// Modified by:
// Created: 01/02/97
// RCS-ID: $Id$
-// Copyright: (c) Julian Smart and Markus Holzem
-// Licence: wxWindows license
+// Copyright: (c) Julian Smart
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _SLIDER95_H_
virtual int GetValue(void) const ;
virtual void SetValue(int);
+
void GetSize(int *x, int *y) const ;
+ wxSize GetSize() const { return wxWindow::GetSize(); }
+
void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO);
+ void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO)
+ { wxWindow::SetSize(rect, sizeFlags); }
+ void SetSize(const wxSize& size) { wxWindow::SetSize(size); }
+
void GetPosition(int *x, int *y) const ;
+ wxPoint GetPosition() const { return wxWindow::GetPosition(); }
+
bool Show(bool show);
void SetRange(int minValue, int maxValue);
inline WXHWND GetEditValue() const { return m_staticValue; }
virtual bool ContainsHWND(WXHWND hWnd) const;
- // Backward compatibility: translate to familiar wxEVT_COMMAND_SLIDER_UPDATED
-#if WXWIN_COMPATIBILITY
- void OnScroll(wxScrollEvent& event);
-#endif
-
void Command(wxCommandEvent& event);
virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor,
WXUINT message, WXWPARAM wParam, WXLPARAM lParam);
int m_pageSize;
int m_lineSize;
int m_tickFreq;
-DECLARE_EVENT_TABLE()
};
#endif