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@45746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
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
* A new style FNB_FF2: my intentions were to make it like Firefox 2,
however it turned out to be an hybrid between wxAUI notebook glose
style & FF2 ...I still think it looks OK. The main purpose for
making it more like wxAUI is to allow applications that uses both
to have same look and feel (or as close as it can get...);
* Changed the behavior of the left/right rotation arrows to rotate
single tab at a time and not bulk of tabs;
* Updated the demo module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
a) ZeroDivisionError when using the Vista selection style and calling
SelectItem; for some strange reason, sometimes the item rect is not
initialized and that generates the ZeroDivisionError when painting the
selection rectangle;
b) Added a DeleteWindow method to GenericTreeItem class, for items
that hold a widget next to them;
c) Renamed CustomTreeCtrl method IsEnabled to IsItemEnabled, otherwise
it conflicts with wx.Window.IsEnabled;
d) Now CustomTreeCtrl behaves correctly when the widget attached to an
item is narrower (in height) than the item text;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
controls can be configured ("File">"Preferences...").
Implemented comment object for including simple one-line comments and
comment directives as tree nodes. No validation is performed for a
valid XML string so comments must not contain "-->". Comment directive
is a special comment starting with '%' character, followed by a line
of python code. It is executed using 'exec' when the resource file is
opened. This is useful to import plugin modules containing custom
handlers which are specific to the resource file, hovewer this is of
course a security hole if you use foreign XRC files. A warning is
displayed if the preference option 'ask' is selected (by default).
Added support for custom controls and plugin modules. Refer to this
wxPythonWiki for the details:
http://wiki.wxpython.org/index.cgi/XRCed#custom
Tool panel sections can be collapsed/expanded by clicking on the
label of a tool group.
Some undo/redo and other fixes.
Fixes for wxMSW (notebook highlighting, control sizes, tree Unselect).
Notebook page highlighting fix. Highlight resizes when the window
is resized. ParamUnit spin button detects event handler re-entry
(wxGTK probably has a bug in wxSpinButton with repeated events).
Fix for dealing with empty 'growable' property, using MiniFrame
for properties panel, the panel is restored together with the
main window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775