[ wxwindows-Bugs-1592589 ] Validation doesn't work with controls inside a notebook.

SourceForge.net noreply at sourceforge.net
Wed Nov 8 03:59:47 PST 2006


Bugs item #1592589, was opened at 2006-11-08 09:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1592589&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Rodolfo Schulz de Lima (rodlima)
Assigned to: Nobody/Anonymous (nobody)
Summary: Validation doesn't work with controls inside a notebook.

Initial Comment:
Controls inside a notebook, which is inside a dialog
box don't get validated when we call the dialog's
TransferDataFromWindow or TransferDataToWindow. Their
contents don't get updated/retrieved too.

I usually have to put in the dialog constructor the
following code:

SetExtraStyle(GetExtraStyle()|wxWS_EX_VALIDATE_RECURSIVELY);
NOTEBOOK->SetExtraStyle(NOTEBOOK->GetExtraStyle()|wxWS_EX_VALIDATE_RECURSIVELY);

I understand that by default grandchild controls don't
get validated, but it's common to have notebooks inside
a dialog, and we expect to have its controls validated.
Can this case be an exception? Is there bad
implications if we validated recursively by default?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1592589&group_id=9863




More information about the wx-dev mailing list