- wxCHECK_RET( (m_widget != NULL), T("invalid spin button") );
-
- float fmin = (float)minVal;
- float fmax = (float)maxVal;
-
- if ((fabs(fmin-m_adjust->lower) < sensitivity) &&
- (fabs(fmax-m_adjust->upper) < sensitivity))
- {
- return;
- }
-
- m_adjust->lower = fmin;
- m_adjust->upper = fmax;