Floatspin package - increment bug?


Dear members of the wx python mailing list,
I found a little pitfall in the wx.lib.agw.floatspin module.
When I had to update the controls after I changed the data in the
plot, SetIncrement threw
ERROR: Increment Should Be Greater Or Equal To 1/(10**digits).
in the lines
if increment < 1./10.0**self._digits:
raise Exception("\nERROR: Increment Should Be Greater Or Equal To
1/(10**digits).")
This restriction on increment seems to be unjustified since the
increment is given in "units" of the actual floating point value and
not in digits. Removing the two lines 882 and 883 solved the problem
for me.
I'm using python 2.7.3 with wx Python 2.8.
Best,
Alois