Opened 12 years ago

Last modified 13 months 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

Description

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
wxFILTER_NONE).

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by kevingy

comment:1 Changed 12 years ago by juliansmart

Applied, thanks for the contribution!

Regards,

Julian

comment:2 Changed 13 months 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.