On Mon, Sep 04, 2017 at 07:09:32PM -0400, Wayne Stambaugh wrote:
> wxValidator is the standard way to customize control input and output.
> This is well documented in the wxWidgets documentation.  Please do not
> create a custom design unless there is no way to do this as validator
> which I highly doubt.  There are even source files for creating custom
> validators aptly named include/validators.h and common/validators.cpp.

My (old) unit parser was simply in the variable <-> widget text
conversion functions. All two of them :P Actually I created it to make
accept the point as a decimal separator even on 'comma' locales.

The unit binder came later and the validator serves other purposes.

-- 
Lorenzo Marcantonio

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to