Add wxFloatingPointValidator::SetFactor()

This allows displaying values in percents (or also currency units and
subunits, for example) without changing the actually stored value.
This commit is contained in:
Vadim Zeitlin
2018-01-25 19:30:39 +01:00
parent f836d430e9
commit b1e59a6d60
6 changed files with 75 additions and 11 deletions

View File

@@ -76,7 +76,9 @@ public:
// variables handled by wxNumericTextValidator
int m_intValue;
unsigned short m_smallIntValue;
double m_doubleValue;
float m_percentValue;
bool m_checkbox_state;
int m_radiobox_choice;