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