Commit Graph

3921 Commits

Author SHA1 Message Date
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
Robin Dunn
6008a5a288 New version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:03:52 +00:00
Robin Dunn
6c51117514 Update to 0.8 from Frank
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:02:51 +00:00
Robin Dunn
306a5d85e7 update the info panel when refreshing the tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:01:48 +00:00
Robin Dunn
dc04c2d154 Patch from Andrea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:01:05 +00:00
Robin Dunn
c80bb70aaa Renamed the wx.lib.inspect and wx.lib.mixins.inspect modules to
inspection, in order to avoid conflicts with the inspect module in the
standard Python library.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 19:24:13 +00:00
Robin Dunn
236a17eb09 Make GetItemImage API consistent with other trees
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 19:21:39 +00:00
Robin Dunn
f264e6001a test drawing rectangles with wxGCDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 00:24:31 +00:00
Robin Dunn
10cbe76833 fix a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 00:23:50 +00:00
Robin Dunn
b2b9f13f59 keep a reference to the textctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 19:18:51 +00:00
Robin Dunn
969f4438ef Add GetTopLevelParent convenience function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 19:08:10 +00:00
Robin Dunn
a8162c4cd0 Docstring fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 21:39:34 +00:00
Robin Dunn
caee23d55d wx.lib.customtreectrl patches from Andrea:
1. ExpandAll has been renamed as ExpandAllChildren, and the new
     ExpandAll now takes no input arguments (consistent with
     wx.TreeCtrl)

  2. ctstyle keyword is now defaulted to 0: every style related to
     CustomTreeCtrl and the underlying wx.PyScrolledWindow should be
     declared using the keyword "style" only. For backward
     compatibility, ctstyle continues to work as I merged ctstyle and
     style in the __init__ method.

  3. GetClassDefaultAttributes is now a classmethod.

  4. UnselectAll bug fixed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 21:04:52 +00:00
Robin Dunn
ba35daf089 Mention GraphicsContext changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 17:18:13 +00:00
Robin Dunn
36e6f51a0f Some docstring tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 22:00:29 +00:00
Robin Dunn
99f22cf696 Patch from Gianluca Costa:
-Refactorization of the script-creation code in a specific "img2py()" function
    -Added regex parsing instead of module importing
    -Added some "try/finally" statements
    -Added default values as named constants
    -Made some parts of code a bit easier to read
    -Updated the module docstring
    -Corrected a bug with EmptyIcon


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 21:51:23 +00:00
Robin Dunn
6b260f32ca header cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 19:37:00 +00:00
Robin Dunn
0aeaaaaf31 Add missing 'recursive' parameter to wx.Sizer.GetItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 19:35:26 +00:00
Robin Dunn
b1ea5b28ab Create the other frame on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 19:01:55 +00:00
Robin Dunn
37a2b499e5 use a hidden frame to prevent premature exit on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 18:53:57 +00:00
Robin Dunn
58e564cb92 don't set hover state when button is pressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 18:52:13 +00:00
Robin Dunn
8cb3186049 wx.lib.plot: patch #1663937 to allow user to turn off scientific
notation on plot.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 01:26:13 +00:00
Robin Dunn
5d1ccdb489 Will Sadkin provided a patch for the wx.lib.masked package that fixes
its support for using the navigation keys on the numeric keypad.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 01:08:41 +00:00
Robin Dunn
456b3f4363 now able to make a debug -dev package
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 01:02:22 +00:00
Robin Dunn
a2a197f5d7 new and updated tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-28 21:42:29 +00:00
Robin Dunn
25f8729c3d Updated to TreeMixin 0.7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 23:35:07 +00:00