const wxString& value = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
const wxString& value = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
double min = 0, double max = 100, double initial = 0,
double inc = 1,
double min = 0, double max = 100, double initial = 0,
double inc = 1,
const wxString& value = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
const wxString& value = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
double min = 0, double max = 100, double initial = 0,
double inc = 1,
double min = 0, double max = 100, double initial = 0,
double inc = 1,
const wxString& value = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
const wxString& value = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
int min = 0, int max = 100, int initial = 0,
int min = 0, int max = 100, int initial = 0,
{
Create(parent, id, value, pos, size, style, min, max, initial, name);
}
{
Create(parent, id, value, pos, size, style, min, max, initial, name);
}
const wxString& value = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
const wxString& value = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
int min = 0, int max = 100, int initial = 0,
int min = 0, int max = 100, int initial = 0,
{
return wxSpinCtrlGenericBase::Create(parent, id, value, pos, size,
style, min, max, initial, 1, name);
}
// accessors
{
return wxSpinCtrlGenericBase::Create(parent, id, value, pos, size,
style, min, max, initial, 1, name);
}
// accessors
- int GetValue(wxSPINCTRL_GETVALUE_FIX) const
- { return wxRound( DoGetValue() ); }
- int GetMin() const { return wxRound( m_min ); }
- int GetMax() const { return wxRound( m_max ); }
- int GetIncrement() const { return wxRound( m_increment ); }
+ int GetValue(wxSPINCTRL_GETVALUE_FIX) const { return int(DoGetValue()); }
+ int GetMin() const { return int(m_min); }
+ int GetMax() const { return int(m_max); }
+ int GetIncrement() const { return int(m_increment); }
// operations
void SetValue(const wxString& value)
{ wxSpinCtrlGenericBase::SetValue(value); }
void SetValue( int value ) { DoSetValue(value); }
void SetRange( int minVal, int maxVal ) { DoSetRange(minVal, maxVal); }
// operations
void SetValue(const wxString& value)
{ wxSpinCtrlGenericBase::SetValue(value); }
void SetValue( int value ) { DoSetValue(value); }
void SetRange( int minVal, int maxVal ) { DoSetRange(minVal, maxVal); }
const wxString& value = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
const wxString& value = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
double min = 0, double max = 100, double initial = 0,
double inc = 1,
double min = 0, double max = 100, double initial = 0,
double inc = 1,
{
m_digits = 0;
Create(parent, id, value, pos, size, style,
{
m_digits = 0;
Create(parent, id, value, pos, size, style,
const wxString& value = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
const wxString& value = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
double min = 0, double max = 100, double initial = 0,
double inc = 1,
double min = 0, double max = 100, double initial = 0,
double inc = 1,
{
return wxSpinCtrlGenericBase::Create(parent, id, value, pos, size,
style, min, max, initial,
{
return wxSpinCtrlGenericBase::Create(parent, id, value, pos, size,
style, min, max, initial,