Upgrade code to C++17
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
e3a59d1118
commit
be1874cc8c
@ -104,11 +104,11 @@ public:
|
|||||||
///
|
///
|
||||||
/// Constructs new hexadecimal validator
|
/// Constructs new hexadecimal validator
|
||||||
///
|
///
|
||||||
wxHexValidator(ValueType *value = NULL, int style = wxNUM_VAL_DEFAULT, unsigned int width = 0) : Base(value, style)
|
wxHexValidator(T *value = NULL, int style = wxNUM_VAL_DEFAULT, unsigned int width = 0) : Base(value, style)
|
||||||
{
|
{
|
||||||
this->DoSetWidth(width);
|
this->DoSetWidth(width);
|
||||||
this->DoSetMin(std::numeric_limits<ValueType>::min());
|
this->DoSetMin(std::numeric_limits<T>::min());
|
||||||
this->DoSetMax(std::numeric_limits<ValueType>::max());
|
this->DoSetMax(std::numeric_limits<T>::max());
|
||||||
}
|
}
|
||||||
|
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user