Opened 16 years ago

Last modified 5 years ago

#5420 closed

Add wxTextValidator to wxTextEntryDialog

Reported by: kevingy Owned by:
Priority: normal Milestone:
Component: Version:
Keywords: Cc: kevingy, juliansmart
Blocked By: Blocking:
Patch: yes


Added the ability to validate the contents of a
wxTextEntryDialog using a wxTextValidator. The code
contains wxUSE_VALIDATORS conditional compilation
flags so that if validators are not used in the project, the
new code isn't seen at all. If the flag is defined, but the
programmer doesn't assign a validator, no validation is
performed (i.e., a validator exists, but the filter style is

Attachments (1)

textentrydialog.patch download (2.4 KB) - added by kevingy 16 years ago.

Download all attachments as: .zip

Change History (3)

Changed 16 years ago by kevingy

comment:1 Changed 16 years ago by juliansmart

Applied, thanks for the contribution!



comment:2 Changed 5 years ago by VZ

(In [73775]) Document wxTextEntryDialog::SetTextValidator().

These methods exist since r15925 but were never documented.

See #5420.

Note: See TracTickets for help on using tickets.