Trying to use wxCheckBox I discovered that it does NOT support the keywork validator. Any particular reason why this is the case, or is it just an oversight?
Also Doc shows that one can specify a validator, spent just a little time on it but could not make it work using a validator similar to the one I use for wxTextCtrl and IntCtrl - mainly to do the data transfer from/to Window and database.
Questions:
- Should the CheckBox support a validator which is similar to the one I use for TextCtrl?
- The validator overview stats that the generic one should work for my purposes with the checkbox. Can I derive such a thing from wxPyValidator?
Any hints will be appreciated.
See you
Werner
P.S. I am really looking forward to getting python doc as this c++ stuff totally confused me!
Trying to use wxCheckBox I discovered that it does NOT support the keywork validator. Any particular reason why this is the case, or is it just an oversight?
CheckBox is not working, I agree that ComboBox is working very nicely.
See you
Werner
Robin Dunn wrote:
···
Werner F. Bruhin wrote:
Trying to use wxCheckBox I discovered that it does NOT support the keywork validator. Any particular reason why this is the case, or is it just an oversight?
CheckBox is not working, I agree that ComboBox is working very nicely.
Oops, sorry. I read it too fast.
Yes, indeed, wxCheckBox is calling that parameter "val" instead of "validator" for some unknown reason. Anybody object if I change it for 2.4.1? (If you're using "val" now then your code will break.)
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!