#15158 closed enhancement (fixed)

Maximum length for wxTextEntryDialog

Reported by: derEine Owned by:
Priority: normal Milestone:
Component: GUI-generic Version: stable-latest
Keywords: Cc:
Blocked By: Blocking:
Patch: yes

Description

It is possible to set text validators for wxTextEntryDialog, but maximum text length cannot be restricted.

The patch adds a new function SetMaxLength (as in wxTextEntry) which enables this feature.

Attachments (1)

wxTextEntryDialog.patch download (1.4 KB) - added by derEine 17 months ago.
Patch for wxTextEntryDialog to allow restriction of maximum text length.

Download all attachments as: .zip

Change History (2)

Changed 17 months ago by derEine

Patch for wxTextEntryDialog to allow restriction of maximum text length.

comment:1 Changed 17 months ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(In [73832]) Add wxTextEntryDialog::SetMaxLength().

Allow restricting the maximal number of characters that can be entered in
wxTextEntryDialog.

Closes #15158.

Note: See TracTickets for help on using tickets.