4 Commits

Author SHA1 Message Date
Leandro Dorileo
efa32413a4 edit: pass event.Ch to OnKeyPress callback
It seems beneficial the callback to also know the event.Ch so we can
implement more "sophisticated" field filling validation strategies.
2018-04-03 13:07:49 -07:00
Leandro Dorileo
1f44a01230 BaseControl: add refID
In order to guarantee BaseControl and Control are fully comparable in the
BaseControl level this patch introduces a refID interface, so the objects
can safely be comparable based on this interface.
2018-03-23 14:34:01 -07:00
Vladimir Markelov
1242a3bceb fix conditional compilation flags 2018-01-10 14:04:45 -08:00
Vladimir Markelov
7c166c2fb6 Fix formatting.
Separate edit control code to OSX and other OSes code. Add a delay
between accepting key presses in edit field. If any keypress comes
earlier it is just thrown away.
2018-01-10 14:01:50 -08:00