Commit Graph

3946 Commits

Author SHA1 Message Date
Robin Dunn
58bcd368ff Rephrase the text about the new XRCed feature.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 21:13:45 +00:00
Robin Dunn
c9e1d317b1 Fix to previous masked.TextCtrl change, to ensure inheritance chain
for derived controls isn't broken by new .ChangeValue() support in
base control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 21:12:28 +00:00
Robin Dunn
a3c484e025 Mention today's changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 06:14:11 +00:00
Robin Dunn
7dc46e9d9e Patch #1710943, Fix a bug in pywxrc script for "MenuBar" and "Menu"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 06:12:06 +00:00
Robin Dunn
5ae04a0c4e Updates to MaskedEdit controls from Will Sadkin:
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
2007-05-02 05:23:01 +00:00
Robin Dunn
e75f43c577 Updates to MaskedEdit controls from Will Sadkin:
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
2007-05-02 01:00:30 +00:00
Robin Dunn
c3e1d30aea backport of XRCed changes from today
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 06:03:28 +00:00
Robin Dunn
3f4ec51e47 Updated FloatCanvas code from Chris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 05:55:19 +00:00
Robin Dunn
611d0e5cea Another fix for: AttributeError: 'XML_Tree' object has no attribute 'itemColour'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-29 00:05:34 +00:00
Robin Dunn
3bd8d81d3e backport
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 22:15:09 +00:00
Robin Dunn
d698728cea backported Roman's latest updates on HEAD to 2.8 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 18:49:06 +00:00
Robin Dunn
e78f78e598 notes about recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 18:26:53 +00:00
Robin Dunn
f35e2ab9ed reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 18:24:08 +00:00
Robin Dunn
3640fa6670 demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:53:24 +00:00
Robin Dunn
35e224a636 test activate event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:52:35 +00:00
Robin Dunn
372cc7aca9 Update treemixin to 1.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:50:36 +00:00
Robin Dunn
35c770fa95 Fix typo that prevented an overridden PaintBackground in a
wx.grid.PyGridCellEditor derived class from being called.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:49:30 +00:00
Robin Dunn
40ec2b2462 More fixes needed for allowing classes to be derived from PyAuiDockArt
and PyAuiTabArt.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:47:51 +00:00
Robin Dunn
fc56edf93b Use lower case property names in wx.DateSpan and wx.TimeSpan in order
to not conflict with static methods with same names.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:42:17 +00:00
Robin Dunn
a9e9358c43 Use wxWANTS_CHARS style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:29:02 +00:00
Robin Dunn
a9d109cb9b bump version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:28:01 +00:00
Robin Dunn
f5850761c3 Use wx.FileHistory for the recent files menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:25:07 +00:00
Robin Dunn
ce7feab06b wx.lib.flatnotebook: Patch from Andrea that implements the following:
* 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
2007-04-17 16:40:05 +00:00
Robin Dunn
bf2481b9cf Patch from Andrea that fixes the following problems/issues:
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
2007-04-17 16:26:28 +00:00
Robin Dunn
a1732cbc15 Use our own getters and properties for wxVisualAttributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 18:42:01 +00:00
Robin Dunn
579c608e3e 0.9.1 of TreeMixin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 19:55:31 +00:00
Robin Dunn
bb7882b5d1 Fix off-by-one error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 19:53:37 +00:00
Robin Dunn
c322433224 new test app
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:56:07 +00:00
Robin Dunn
08e98210c4 Patch from Rob McMullen allowing the plot title to be optional
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:55:12 +00:00
Robin Dunn
123129601c fix offset of widget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:54:05 +00:00
Robin Dunn
4366f1b660 Use disabled state if needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:52:55 +00:00
Robin Dunn
d376e326d8 Update to 0.9 of TreeMixin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:50:46 +00:00
Robin Dunn
4c0a5a842e regenerated for the 2.8.3.0 release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:49:49 +00:00
Robin Dunn
56502ea468 add more simple test apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 18:49:37 +00:00
Robin Dunn
625b827359 Fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 18:48:36 +00:00
Robin Dunn
80d0b595be reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:50:13 +00:00
Robin Dunn
c46c318c2f Add notes about XRCed changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:47:39 +00:00
Robin Dunn
03206fc970 Add build for Ubuntu Feisty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:34:20 +00:00
Robin Dunn
eebadca297 be explicit about testing skiprpm so the srpm in the current build
tools doesn't gert skipped by accident


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:33:27 +00:00
Robin Dunn
8595a01736 fix import
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:32:28 +00:00
Robin Dunn
9aeb0dc9f8 fix a release date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:31:51 +00:00
Robin Dunn
43ea4adf3f fix typo: GetClosetPoint --> GetClosestPoint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:31:13 +00:00
Robin Dunn
b028366c4a Fix for bug #1681189, use the right typemap for GetActiveChild, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:30:27 +00:00
Robin Dunn
411f2d350b Fix for bug #1681052
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 21:22:41 +00:00
Robin Dunn
210032dc4f Use import xxx instead of sys.modules['xxx']
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 18:03:19 +00:00
Robin Dunn
5b97ec9195 Removed test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 17:56:22 +00:00
Robin Dunn
30d91f9ebc Preferences for default "sizeritem" parameters for new panels and
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
2007-03-19 17:55:26 +00:00
Bryan Petty
459fbbc100 This commit was manufactured by cvs2svn to create branch
'WX_2_8_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 17:55:26 +00:00
Robin Dunn
0996afab2e Fix docs about wx.SizerFlags.Border
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:27:10 +00:00
Robin Dunn
925723fb81 fix typo in ctor name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:05:13 +00:00