maskededit.py:
Added parameter option stopFieldChangeIfInvalid, which can be used to
relax the validation rules for a control, but make best efforts to stop
navigation out of that field should its current value be invalid. Note:
this does not prevent the value from remaining invalid if focus for the
control is lost, via mousing etc.
numctrl.py, demo / MaskedNumCtrl.py:
In response to user request, added limitOnFieldChange feature, so that
out-of-bounds values can be temporarily added to the control, but should
navigation be attempted out of an invalid field, it will not navigate,
and if focus is lost on a control so limited with an invalid value, it
will change the value to the nearest bound.
combobox.py:
Added handler for EVT_COMBOBOX to address apparently inconsistent behavior
of control when the dropdown control is used to do a selection.
textctrl.py
Added support for ChangeValue() function, similar to that of the base
control, added in wxPython 2.7.1.1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
- Added '*' mask char that means "all ansii chars" (ords 32-255)
- Added proper unicode support to masked controls and wx.tools.dbg
- Fixed two reported missing import bugs introduced by package
creation
- Converted masked package doc strings to reST format for better
epydoc support
- lots of doc string improvements and function hiding to better
reflect package's public contents.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
MaskedEditMixin:
- fixed size calculations on changing fonts
- fixed tabbing logic now that tab events are entered into the control
by default (ie event.Skip()) if wx.TE_PROCESS_TAB is set
- fixed code attempting to fix the selection after focus events
generated on control destruction, to prevent tracebacks
TextCtrl, ComboBox
- Added support for XRC
- Fixed sizing calculation code
- Added SetFont() override method that will recalculate the size if this
is called.
- Added AppendItems() for ComboBox
NumCtrl:
- prevented ctrl from accepting same grouping and decimal character,
- fixed issue preventing paste from working if decimal char was different
than '.'
TimeCtrl:
- Fixed default value to use 24hour time (which will be converted
appropriately if format supports it, and added code to check if
local timezone uses "AM/PM" for this concept; if not, control now
defaults to 24hour format, and disallows the am/pm form.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
- Fixed intra-right-insert-field erase.
- Allowed right-insert in ipaddrctrl subfields.
- Made _SetValue() place cursor after last non-blank character inserted,
rather than end of mask.
- Fixed combobox autoselect behavior to work similarly as above, so that
said selection will only select the non-empty text, as per request.
- Fixed some incorrect undo behavior for right-insert fields
- Allowed derived classes (eg. numctrl) to pass modified values for undo
processing (to handle/ignore grouping chars properly.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775