UNIT_BINDER should support long long ints

Fixes https://gitlab.com/kicad/code/kicad/-/issues/10870

(cherry picked from commit eb1164fc93)
This commit is contained in:
Jon Evans 2022-05-31 21:50:52 -04:00
parent 6fd14ac945
commit f4372a2de9
2 changed files with 2 additions and 2 deletions

View File

@ -278,7 +278,7 @@ bool UNIT_BINDER::Validate( double aMin, double aMax, EDA_UNITS aUnits )
}
void UNIT_BINDER::SetValue( int aValue )
void UNIT_BINDER::SetValue( long long int aValue )
{
double value = aValue;
double displayValue = m_originTransforms.ToDisplay( value, m_coordType );

View File

@ -85,7 +85,7 @@ public:
/**
* Set new value (in Internal Units) for the text field, taking care of units conversion.
*/
virtual void SetValue( int aValue );
virtual void SetValue( long long int aValue );
void SetValue( const wxString& aValue );