@@ -261,6 +261,10 @@ public:
|
|||||||
@param name
|
@param name
|
||||||
Window name.
|
Window name.
|
||||||
|
|
||||||
|
The precision (number of digits after the decimal point) of the value
|
||||||
|
of the spin control is derived from the precision of @a inc.
|
||||||
|
If necessary, default precision can be adjusted by call to SetDigits().
|
||||||
|
|
||||||
@see Create()
|
@see Create()
|
||||||
*/
|
*/
|
||||||
wxSpinCtrlDouble(wxWindow* parent, wxWindowID id = -1,
|
wxSpinCtrlDouble(wxWindow* parent, wxWindowID id = -1,
|
||||||
@@ -285,7 +289,7 @@ public:
|
|||||||
const wxString& name = "wxSpinCtrlDouble");
|
const wxString& name = "wxSpinCtrlDouble");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gets the number of digits in the display.
|
Gets precision of the value of the spin control.
|
||||||
*/
|
*/
|
||||||
unsigned int GetDigits() const;
|
unsigned int GetDigits() const;
|
||||||
|
|
||||||
@@ -310,14 +314,15 @@ public:
|
|||||||
double GetValue() const;
|
double GetValue() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Sets the number of digits in the display.
|
Sets precision of the value of the spin control.
|
||||||
|
Up to 20 digits are allowed after the decimal point.
|
||||||
*/
|
*/
|
||||||
void SetDigits(unsigned int digits);
|
void SetDigits(unsigned int digits);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Sets the increment value.
|
Sets the increment value.
|
||||||
@note You may also need to increase the number of visible digits
|
@note You may also need to change the precision of the value
|
||||||
using SetDigits
|
using SetDigits().
|
||||||
*/
|
*/
|
||||||
void SetIncrement(double inc);
|
void SetIncrement(double inc);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user