Commit Graph

17 Commits

Author SHA1 Message Date
Metallicow
e442736ee3 Fix some sizer issues with wxPy4.1 2019-06-20 19:46:45 -05:00
cbeytas
d1361f3d0b Fix bug in HyperTreeList and CustomTreeCtrl demos
Throws ValueError: chr() arg not in range(256) if any special key is
pressed while editing text control.
2018-11-21 15:17:23 -05:00
cbeytas
fb10da6aab Fix typo in CustomTreeCtrl and HyperTreeList demos
Context menu "Change Item Icons" would throw an exception due to typo.
2018-11-21 14:46:06 -05:00
cbeytas
e11848f735 Fix hide items in HypreTreeList
Hiding items was only partially implemented and very buggy.
This feature does not exist in CustomTreeCtrl but I see no reason why
it couldn't be added in the future. This fix requires the arrow key fixes
in order for arrow keys to work reliably in a tree with hidden items.
Hidden items always report they are disabled and not expanded.

Also updates the demo of HyperTreeList to add hide options to context
menu so the feature can be tested.
2018-11-21 14:43:07 -05:00
Robin Dunn
106f2aa733 Merge pull request #1076 from Metallicow/HyperTreeList-Fix
Fix dc.DrawRectangleRect to dc.DrawRectangle

(cherry picked from commit 3aa4f289e9)
2018-11-08 20:10:13 -08:00
Robin Dunn
94f8377b77 Merge pull request #979 from RobinD42/fix-issue973
Optimize line drawing in HyperTreeList
(cherry picked from commit b9e2d4d717)
2018-08-29 23:10:00 -07:00
Robin Dunn
705aa63d75 Merge branch 'more-windowidref' into wxPy-4.0.x
(cherry picked from commit ada7b2fc51)
2018-06-25 19:12:00 -07:00
Robin Dunn
b1b0c9e297 wx.NewId() --> wx.ID_ANY or wx.Window.NewControlId() as appropriate 2018-06-19 10:31:56 -07:00
Metallicow
c273dfa9b1 Trim Trailing Whitespace demos 2016-11-24 19:26:05 -06:00
Robin Dunn
ed4756b902 Remove wx.lib.six and use the stock six module instead,
and add it as an installation dependency.
2016-06-30 20:07:57 -07:00
Steve Barnes
c1d26d1e84 Remaining xrange issues resolved by replacing with range 2016-05-22 14:11:56 +01:00
Robin Dunn
a9595b241a PR64: Various Phoenix and Py3 fixes for the demo and library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-28 04:48:21 +00:00
Robin Dunn
558fcfa5a3 PR61: Added python shebangs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-23 00:44:14 +00:00
Robin Dunn
2bf5a267fa PR58: More fixes for Phoenix deprecations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-23 00:20:07 +00:00
Robin Dunn
ea181b5b72 PR57: Mainly style changes, a few white space stuff and an xrange to range change.
* Phoenix FONTFAMILY, STYLE, WEIGHT Fixes
* PENSTYLE_ & BRUSHSTYLE_ Fixes
* Fix FONTWEIGHT to FONTSTYLE typo
* Phoenix Deprecations: wx.OPEN to wx.FD_OPEN
* Phoenix Deprecations: wx.SAVE to wx.FD_SAVE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-23 00:19:55 +00:00
Robin Dunn
3fd1f2330b Some HyperTreeList Phoenix Fixes
Some HyperTreeList Phoenix Fixes
Still needs more work

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-05 22:19:45 +00:00
Robin Dunn
f96e25db1f Copy the wxPython demo from Classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-11 18:24:09 +00:00