All, (but probably Robin...)
I am trying to help Jeff Childers make his masked edit code into
a mixin, so I can then derive both a wxMaskedTextCtrl and a
wxMaskedComboBox from it. However, I've run into a nasty
non-orthogonality problem... Although you can select text in
the text portion of a wxCombobox, and you can (according to the doc)
*set* the text selection via a method called .SetMark(),
there appears to be no symmetric .GetMark() that would behave
like .GetSelection() from wxTextCtrl. (.GetSelection() from a
wxComboBox does something entirely different, getting the index
of the choice made in the combo list, and .SetMark() appears to
have been added to handle a C++ name overloading problem with
.SetSelection() called with 2 different sets of arguments.
I need to abstract those functions which are named differently,
but do the same thing in these classes, but I don't know how
to resolve this one. Any suggestions?
/Will Sadkin
Parlance Corporation