[Mac, 2.8.2] strange behavior of wxWindowBase::Validate()

Yaron Tadmor YaronT at HumanEyes.com
Mon Jul 16 08:47:46 PDT 2007


Hi,

Looking at the code of wxWindowBase::Validate(), I noticed something
strange.
The Validator of  "this" is never used. Only the validators of the
children. And then a recursion occurs as needed.

This seems very strange.
Say I have a window and a control hierarchy. I would call Validate() of
the whole window to validate the whole content, but I would also like to
take one control and call its Validate() method to validate only that
control. As things are now, I can't do that since the control's
validator is never used.

Any thoughts?
Yaron Tadmor

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20070716/bdf7ff2d/attachment.htm


More information about the wx-users mailing list