cbeytas
70464181c9
Fix tree event exception in HyperTreeList demo
...
The HyperTreeList demo receives events from an embedded TreeCtrl
window which reports a different item type (TreeItemId) than the
HyperTreeList events (TreeListItem). This throws an exception:
AttributeError: 'TreeItemId' object has no attribute 'GetText'.
Guard against this by only processing events with TreeListItem items.
To reproduce, start the HyperTreeList demo and expand "item 0-a" then
enable it by clicking the radio button. Selecting any item in the
ListCtrl, or expanding/collapsing a tree node will generate exceptions.
2019-01-06 23:31:59 -05:00
cbeytas
2315a7175b
Merge item hiding to CustomTreeCtrl
...
Move item hiding from HyperTreeList to CustomTreeCtrl so that both
trees can have the feature.
Add a HideItemWindows() method to hide windows only for a specific item
and its children. This is much faster than calling HideWindows().
Add context menu options to the CustomTreeCtrl demo so that Hiding
can be tested.
2019-01-06 23:16:20 -05:00
Robin Dunn
c3879c4a83
Merge pull request #1118 from RobinD42/fix-issue1095
...
Add missing methods in wx.ListBox
(cherry picked from commit f0224794ab )
2018-12-31 15:20:34 -08:00
Robin Dunn
e5d24078fd
Merge pull request #1087 from cbeytas/master
...
Fix bugs in CustomTreeCtrl and HyperTreeList
2018-11-30 14:55:02 -08:00
Robin Dunn
1f735769a1
Merge pull request #1082 from Metallicow/Fix-Image-Issues
...
Fix image issues
2018-11-30 14:52:26 -08:00
Robin Dunn
78196de84e
Merge pull request #1090 from swt2c/remove_hardcode_spin
...
Remove hard-coded sizes from wx.SpinButton and wx.SpinCtrlDouble in demo
(cherry picked from commit 475d533888 )
2018-11-30 14:45:40 -08: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
Metallicow
230bf5d6d3
Optimize All PNGs Nov2018
...
Since I had to fix a image issue and optimize it. I decided to rerun FileOptimizer 13.30.2393 over all pngs. Small bytes for some that had been optimized before, but this comit covers all pngs that may have been missed in the past. Maybe revisit running them all again in 2 years. Total time to process all pngs: approx 8 hours.
As technology improves this will only get better/faster when downloading, loading in browser, embedded, etc...
2018-11-13 16:08:12 -06: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
d8ca61588d
Merge pull request #1069 from RobinD42/fix-issue1068
...
Fixed the wrappers for wx.html.HtmlWindow.OnOpeningURL
(cherry picked from commit 05f871e9f7 )
2018-10-31 18:43:28 -07:00
Robin Dunn
882401e9d9
Merge pull request #1063 from RobinD42/fix-issue997
...
Various updates for wxJoystick
(cherry picked from commit 12f20a4018 )
2018-10-29 19:01:24 -07:00
Robin Dunn
33b13b441b
Merge pull request #1056 from RobinD42/fix-issue1024
...
Fix AUI sample to properly use a range of wx.WindowIDRefs
(cherry picked from commit f38671044c )
2018-10-26 18:17:37 -07:00
Robin Dunn
4982760abc
Merge pull request #1021 from RobinD42/fix-issue976
...
Removed wx.lib.floatbar, which has been deprecated forever
(cherry picked from commit 258331d7be )
2018-09-27 20:59:25 -07:00
Robin Dunn
addb1906c9
Merge branch 'HelioGuilherme66-40xcustomtreectrl' into wxPy-4.0.x
...
(cherry picked from commit 32ae30b988 )
2018-09-25 15:19:53 -07:00
Robin Dunn
10c34f20e7
Merge pull request #980 from RobinD42/fix-issue974
...
Add wx.StaticBox.GetBordersForSizer
(cherry picked from commit 49d0592e4a )
2018-08-29 23:14:25 -07: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
cd3de22068
Merge pull request #946 from RobinD42/throbber-issue924
...
Ensure the sequence attribute is a list by default
(cherry picked from commit c706dfacd9 )
2018-07-30 21:36:06 -07:00
Robin Dunn
543fc796ab
Merge pull request #939 from RobinD42/fix-issue888
...
Removed the wx.BookCtrlBase.RemovePage workaround
(cherry picked from commit 11cc4d5c25 )
2018-07-20 16:42:37 -07:00
Robin Dunn
7f44c91c5e
Merge pull request #930 from RobinD42/fix-issue927
...
Add NotificationMessage to the demo tree.
(cherry picked from commit 3c6e5ca81a )
2018-07-16 19:06:03 -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
Robin Dunn
b77c88a280
Merge tag 'wxPython-4.0.2' into wxPy-4.0.x
...
(cherry picked from commit 4c56c39e52 )
2018-06-17 22:04:22 -07:00
Robin Dunn
5d011f4f04
Merge pull request #877 from RobinD42/fix-issue742
...
Fix GetValueFromControl and StringToValue
(cherry picked from commit 53c03f9203 )
2018-06-04 20:39:25 -07:00
Robin Dunn
09de554e1b
Merge branch 'this-n-that' into wxPy-4.0.x
...
(cherry picked from commit 2e5430d57f )
2018-05-07 11:24:24 -07:00
Robin Dunn
47e32c0d33
Enable running the demo with just python demo
2018-04-28 21:27:10 -07:00
Robin Dunn
0ca5f58fe6
Remove debug prints
2018-03-20 14:34:18 -07:00
Robin Dunn
a283339521
DecRef the model, but only if it was created in this instance of the view.
2018-03-20 13:43:33 -07:00
Robin Dunn
ca5497d77d
Merge pull request #756 from jwilk-forks/string-exceptions
...
Don't use string exceptions
2018-02-19 16:52:41 -08:00
Jakub Wilk
3a34b71d9a
Don't use string exceptions
...
String exceptions have been removed in Python 2.6.
Attempting to raise them causes TypeError.
2018-02-18 21:19:54 +01:00
Robin Dunn
76bdfdb4c9
Docstring tweaks
2018-02-13 17:15:09 -08:00
Robin Dunn
32e1341df2
Sizers now assert if there is an alignment flag used with wx.EXPAND
2018-02-10 12:53:48 -08:00
Robin Dunn
c4b741b797
Deprecate wx.ListItemAttr
2018-02-10 12:52:23 -08:00
Robin Dunn
8cf2f590c9
Fix version numbers
2018-02-09 14:17:06 -08:00
Robin Dunn
c790d12ec4
Let's just bite the bullet and call this the 4.0.0 final release build.
2018-01-27 16:17:39 -08:00
Robin Dunn
ebde977c82
Fix scrolling regression in DynamicSashWindow
2018-01-25 16:25:34 -08:00
Robin Dunn
c1a0a4dfa7
Merge pull request #691 from Metallicow/Trim-whitespace
...
Trim trailing whitespace - everything that's left
2018-01-17 17:56:01 -08:00
Metallicow
99834ab3ec
⁉️ Trim trailing whitespace misc files
...
All these files seem like legit trailing whitespace that can be removed.
2018-01-16 09:37:04 -06:00
Metallicow
c76384d458
Trim trailing whitespace *.py files
2018-01-16 08:47:07 -06:00
Metallicow
6b41523cc0
remove renamed import
2018-01-16 04:19:19 -06:00
Metallicow
f0ddc9ddf5
Fix ToasterBox demo HyperlinkCtrl
2018-01-16 03:58:21 -06:00
Robin Dunn
bb275cb617
Switch gizmos.TreeListCtrl to be essentially just HyperTreeList with a new name.
2018-01-05 19:46:50 -08:00
Robin Dunn
886c0d099b
Merge branch 'master' into port-gizmos
2017-12-29 15:26:09 -08:00
Robin Dunn
d9c6d41c02
Turn on isVirtual for HtmlWindow.On* methods
2017-12-29 12:55:08 -08:00
Robin Dunn
deb21aa2ed
Merge branch 'master' into port-gizmos
2017-12-06 13:15:14 -08:00
Robin Dunn
b36669c7c9
Merge branch 'master' into fix-issue605
2017-11-17 22:57:59 -06:00
Robin Dunn
9c253cfca4
TextEditMixin fixes for lost new text value in the end edit event
2017-11-17 16:18:29 -08:00
Robin Dunn
b180e6b9d4
dataview tweaks, and demo update for CustomRenderer
2017-11-17 14:52:40 -08:00
Robin Dunn
2422268a16
Merge branch 'master' into port-gizmos
2017-11-13 13:10:58 -08:00