/////////////////////////////////////////////////////////////////////////////
// Name: spinctrl.h
-// Purpose: documentation for wxSpinCtrl class
+// Purpose: interface of wxSpinCtrl
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows license
@category{ctrl}
@appearance{spinctrl.png}
- @seealso
- @ref overview_eventhandlingoverview, wxSpinButton, wxControl
+ @see @ref overview_eventhandlingoverview, wxSpinButton, wxControl
*/
class wxSpinCtrl : public wxControl
{
/**
)
Constructor, creating and showing a spin control.
-
+
@param parent
Parent window. Must not be @NULL.
@param value
Initial value.
@param name
Window name.
-
+
@see Create()
*/
wxSpinCtrl();
/**
Gets maximal allowable value.
*/
- int GetMax();
+ int GetMax() const;
/**
Gets minimal allowable value.
*/
- int GetMin();
+ int GetMin() const;
/**
Gets the value of the spin control.
*/
- int GetValue();
+ int GetValue() const;
/**
Sets range of allowable values.
Select the text in the text part of the control between positions
@a from (inclusive) and @a to (exclusive). This is similar to
wxTextCtrl::SetSelection.
- @b NB: this is currently only implemented for Windows and generic versions
+ @note this is currently only implemented for Windows and generic versions
of the control.
*/
void SetSelection(long from, long to);
void SetValue(int value);
//@}
};
+