adjusted indentation with astyle; added Id keyword
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -9,13 +9,13 @@
|
||||
/**
|
||||
@class wxSpinEvent
|
||||
@wxheader{spinbutt.h}
|
||||
|
||||
This event class is used for the events generated by
|
||||
|
||||
This event class is used for the events generated by
|
||||
wxSpinButton and wxSpinCtrl.
|
||||
|
||||
|
||||
@library{wxcore}
|
||||
@category{events}
|
||||
|
||||
|
||||
@seealso
|
||||
wxSpinButton and wxSpinCtrl
|
||||
*/
|
||||
@@ -42,18 +42,18 @@ public:
|
||||
/**
|
||||
@class wxSpinButton
|
||||
@wxheader{spinbutt.h}
|
||||
|
||||
|
||||
A wxSpinButton has two small up and down (or left and right) arrow buttons. It
|
||||
is often used next to a text control for increment and decrementing a value.
|
||||
Portable programs should try to use wxSpinCtrl instead
|
||||
as wxSpinButton is not implemented for all platforms but wxSpinCtrl is as it
|
||||
degenerates to a simple wxTextCtrl on such platforms.
|
||||
|
||||
|
||||
@b NB: the range supported by this control (and wxSpinCtrl) depends on the
|
||||
platform but is at least @c -0x8000 to @c 0x7fff. Under GTK and
|
||||
Win32 with sufficiently new version of @c comctrl32.dll (at least 4.71 is
|
||||
required, 5.80 is recommended) the full 32 bit range is supported.
|
||||
|
||||
|
||||
@beginStyleTable
|
||||
@style{wxSP_HORIZONTAL}:
|
||||
Specifies a horizontal spin button (note that this style is not
|
||||
@@ -65,11 +65,11 @@ public:
|
||||
@style{wxSP_WRAP}:
|
||||
The value wraps at the minimum and maximum.
|
||||
@endStyleTable
|
||||
|
||||
|
||||
@library{wxcore}
|
||||
@category{ctrl}
|
||||
@appearance{spinbutton.png}
|
||||
|
||||
|
||||
@seealso
|
||||
wxSpinCtrl
|
||||
*/
|
||||
@@ -80,34 +80,34 @@ public:
|
||||
/**
|
||||
Constructor, creating and showing a spin button.
|
||||
|
||||
@param parent
|
||||
@param parent
|
||||
Parent window. Must not be @NULL.
|
||||
|
||||
@param id
|
||||
@param id
|
||||
Window identifier. The value wxID_ANY indicates a default value.
|
||||
|
||||
@param pos
|
||||
@param pos
|
||||
Window position. If wxDefaultPosition is specified then a default position
|
||||
is chosen.
|
||||
|
||||
@param size
|
||||
@param size
|
||||
Window size. If wxDefaultSize is specified then a default size is
|
||||
chosen.
|
||||
|
||||
@param style
|
||||
@param style
|
||||
Window style. See wxSpinButton.
|
||||
|
||||
@param name
|
||||
@param name
|
||||
Window name.
|
||||
|
||||
@sa Create()
|
||||
*/
|
||||
wxSpinButton();
|
||||
wxSpinButton(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxSP_HORIZONTAL,
|
||||
const wxString& name = "spinButton");
|
||||
wxSpinButton(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxSP_HORIZONTAL,
|
||||
const wxString& name = "spinButton");
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -149,10 +149,10 @@ public:
|
||||
/**
|
||||
Sets the range of the spin button.
|
||||
|
||||
@param min
|
||||
@param min
|
||||
The minimum value for the spin button.
|
||||
|
||||
@param max
|
||||
@param max
|
||||
The maximum value for the spin button.
|
||||
|
||||
@sa GetMin(), GetMax()
|
||||
@@ -162,7 +162,7 @@ public:
|
||||
/**
|
||||
Sets the value of the spin button.
|
||||
|
||||
@param value
|
||||
@param value
|
||||
The value for the spin button.
|
||||
*/
|
||||
void SetValue(int value);
|
||||
|
Reference in New Issue
Block a user