[Mac, 2.8.2] - validator for combo box

Vadim Zeitlin vadim at wxwidgets.org
Mon Jul 9 11:14:40 PDT 2007


On Mon, 9 Jul 2007 20:59:57 +0200 Yaron Tadmor <YaronT at HumanEyes.com> wrote:

YT> So what do you all think?
YT> Would it be OK to add combo-box awareness to the text validator?

 I think so but I wonder how would you do it?

 I have, since a very long time, a plan to add wxTextEntryIface class which
would define the interface (i.e. a set of pure virtual functions) which
would be implementd by both (single line) wxTextCtrl and wxComboBox. If we
had it already, extending wxTextValidator to work with wxComboBox would
presumably be trivial. If I'm right and this really would help, maybe I
should finally add this wxTextEntryIface before you start modifying the
text validator. Of course, any help with wxTextEntryIface (especially under
Mac) would be very appreciated too.

 Thanks,
VZ
-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/






More information about the wx-users mailing list