cbeytas
ed2e8eac5e
Guard against unlinked items in CustomTreeCtrl
...
The GetNextSibling() and GetPrevSibling() methods in CustomTreeCtrl
will throw an exception if the item has been deleted from the tree.
This happens whenever an item is deleted but the selection isn't
updated. The exception will be thrown on the next key press. Can be
observed easily in the HyperTreeList demo.
2018-11-21 14:24:50 -05:00
cbeytas
87b100649e
Fix exception when no selection in HyperTreeList
...
If a HyperTreeList is created with only the root item present, and not
selected, an exception will be thrown if any key is pressed.
GetFirstVisibleItem() returns None, even though the root item is
present and visible. Only an issue if the TR_MULTIPLE flag is set.
2018-11-21 14:16:50 -05:00
cbeytas
435d228196
Add additional key handling to customtreectrl
...
Allow use of numpad +. -. and * keys as well as the Windows menu key in
addition to regular keys.
Fix wrong method call to self.ExpandAll(), now self.ExpandAllChildren().
Note: The code still compares against ord('+') and ord('*') which isn't
valid for wx keycodes and will never evaluate properly.
If the user presses the plus '+' button, on most keyboard this will
result in an ord('=') keycode with the SHIFT modifier set.
2018-11-21 14:01:10 -05:00
cbeytas
b2067d1d61
Fix line drawn through root item in customtreectrl
...
Regression caused by PR #886
`on_the_right` is used as positional argument where `separator` is
expected causing a line to be drawn through root item.
This change specifies keyword arguments explicitly.
2018-11-21 13:59:43 -05:00
cbeytas
5706dc2501
Update docstrings for CustomTreeCtrl/HyperTreeList
...
Warnings about accessing some GenericTreeItem methods directly.
Some documentation updates and notes on some methods.
2018-11-21 13:57:59 -05:00
Robin Dunn
79ddece4e9
Use forward slashes in sphinx output
...
(cherry picked from commit 7b3a62102c )
2018-11-08 20:31:30 -08:00
Robin Dunn
74bc4b4f03
Merge pull request #1077 from Metallicow/ColourCubeDialog-box-flickering
...
Fix flickering with boxes/lines drawn on colorcube/wheel images
(cherry picked from commit 15dd7c7cec )
2018-11-08 20:20:46 -08: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
68dcd7872a
Merge pull request #1066 from garibarba/master
...
Fix bug due to type mismatch.
2018-11-08 19:55:21 -08:00
Robin Dunn
122d28fc4c
Add Python 3.7 to the classifiers
...
(cherry picked from commit 6b6f2a932f )
2018-11-08 15:29:35 -08:00
Robin Dunn
586f9ccd22
Add Enabled property for wx.MenuItem
...
(cherry picked from commit af7f52b640 )
2018-11-01 17:06:46 -07: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
Guillermo González de Garibay
a71f32768d
Merge remote-tracking branch 'upstream/master'
2018-10-30 09:02:48 +01:00
Robin Dunn
ceb2f46720
Merge pull request #1065 from RobinD42/fix-issue1061
...
Transfer ownership of the wx.aui.AuiNotbook.SetArtProvider art parameter
(cherry picked from commit a55e4ec45d )
2018-10-29 22:18:23 -07:00
Robin Dunn
653d91b372
Merge pull request #1064 from RobinD42/fix-issue1060
...
Ensure sip knows the pure virtuals are present in wx.html.HtmlPrintout
(cherry picked from commit 17f52dfd14 )
2018-10-29 22:18:08 -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
36f8cb79bf
Merge pull request #1058 from RobinD42/fix-issue1032
...
Ensure colours set in TreeItemAttr are instances of wx.Colour
(cherry picked from commit 8bfe2199dc )
2018-10-26 18:18:22 -07:00
Robin Dunn
e92d572267
Merge pull request #1057 from RobinD42/fix-issue1025
...
fix test suite errors in wx/py/tests
(cherry picked from commit ebb3de75ed )
2018-10-26 18:17:52 -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
b9eb746f40
Merge pull request #1055 from RobinD42/fix-issue1013
...
Fix tickmarks when there is a negative bounds
(cherry picked from commit 24a455acb3 )
2018-10-26 18:17:24 -07:00
Robin Dunn
cf7995027a
Merge pull request #1038 from jgehw/optical-appearance-fix
...
fix optical grid appearance
2018-10-24 19:57:47 -07:00
Robin Dunn
da9f69c380
Merge pull request #1050 from mesalu/fix_1049
...
CustomTreeCtrl and HyperTreeList fixes
2018-10-24 19:36:41 -07:00
Robin Dunn
cb77b7cf89
Merge pull request #1048 from SilverViking/master
...
Fixed bug with image in floatcanvas incorrectly getting rescaled to zero width and height during frame resize.
2018-10-24 19:31:34 -07:00
Robin Dunn
e4da73bfed
Merge pull request #1045 from mesalu/fix_1042
...
fix wx.EvtHandler.QueueEvent code snippet
2018-10-24 19:29:58 -07:00
Felipe Calliari
94e9a38085
fix DeprecationWarnings in frame.py ( #1043 )
...
This commit solves the following messages:
DeprecationWarning: Menu.Append() is deprecated
2018-10-24 19:27:47 -07:00
Robin Dunn
ec8f14da1c
Merge pull request #1037 from ibell/patch-1
...
Bump default ubuntu distro in builds to 18.04
2018-10-24 19:25:18 -07:00
Mesalu
d27efc3158
Fix performance issue in customtreectrl, beautify some ugly code.
2018-10-24 18:38:34 -07:00
Frank Vernaillen
6d24a91990
Fixed bug with image getting rescaled to zero width and height.
2018-10-23 14:41:40 +02:00
Mesalu
484fb84bb9
remove misleading comments, do not create a copy of strs
2018-10-22 14:30:17 -07:00
Robin Dunn
2f8d1b2e9a
wxWidgets has been fixed, enable use of SDL again.
...
Update wxWidgets to latest master.
2018-10-17 11:11:49 -07:00
Robin Dunn
8d50277917
Merge branch 'fix-sdl'
2018-10-16 20:13:05 -07:00
Robin Dunn
a11a476672
Merge pull request #1039 from RobinD42/fix-issue969
...
Ensure all text goes into MemoryFSHandler files as utf-8 data
(cherry picked from commit b8a922ef46 )
2018-10-16 20:11:49 -07:00
Robin Dunn
3e25eade30
update to newest wxWidgets master
2018-10-16 16:32:48 -07:00
Robin Dunn
6b0776e41b
turn off SDL for now, there's a link bug in wxWidgets
2018-10-16 16:32:22 -07:00
jgehw
f028640215
fix optical grid appearance
...
- fixed optical appearance of row labels w.r.t. simple 3D effect
- fixed helpers for determining size (becomes important if you subclass a label renderer spanning multiple rows or columns)
2018-10-15 17:50:12 +02:00
Ian Bell
35739c1578
Bump default ubuntu distro in builds to 18.04
2018-10-13 21:51:01 +02:00
Robin Dunn
229870f9c9
Add a __bool__ for every __nonzero__ that doesn't already have one
2018-10-12 23:58:16 -07:00
Robin Dunn
71a3d90e0b
Update to current wxWidgets master
2018-10-12 22:59:46 -07:00
Robin Dunn
e9e3736fa0
Merge pull request #1035 from RobinD42/fix-issue961
...
include wxpy_api.h
(cherry picked from commit 7300aa4718 )
2018-10-11 21:15:10 -07:00
Robin Dunn
b6a38c1cb8
Add changelog
2018-10-10 19:41:19 -07:00
Robin Dunn
2f540a91e6
Merge pull request #1034 from RobinD42/fix-issue958-291-wxAccessible
...
Add wxAccessible and a tool to generate C++ stubs
(cherry picked from commit 3a9f37f2aa )
2018-10-10 19:40:59 -07:00
Robin Dunn
0cfefbbd47
Merge pull request #1030 from RobinD42/fix-issue906
...
Fix wx.ListCtrl.Append when wx.LC_SORT style is used
(cherry picked from commit 7b6fbf2a52 )
2018-10-08 21:14:09 -07:00
Guillermo González de Garibay
2299eae853
Fix input. Takes only bytes, not bytearray.
2018-10-08 14:25:39 +02:00
Robin Dunn
e215a1df7e
Merge pull request #1027 from RobinD42/fix-issue926
...
Mark wx.FileSystemHandler.OpenFile as a factory function
(cherry picked from commit 4c1ff7a1b4 )
2018-10-04 08:40:10 -07:00
Robin Dunn
bf60321011
Add issue number
...
(cherry picked from commit 547840f7de )
2018-10-03 19:32:20 -07:00
Robin Dunn
c66c83752a
Merge branch 'wingel-master' into wxPy-4.0.x
...
(cherry picked from commit b4af342c89 )
2018-10-03 19:32:07 -07:00
Robin Dunn
ac1a323144
Merge pull request #1026 from RobinD42/sip-4.19.13
...
Switch to SIP 4.19.13
(cherry picked from commit a268da9b84 )
2018-10-03 19:25:45 -07:00
Robin Dunn
41be300c46
Merge pull request #1022 from RobinD42/fix-issue972
...
Declare DeleteAllPages in the notebook subclasses
(cherry picked from commit 4b0f0e82c2 )
2018-09-27 21:13:04 -07:00
Robin Dunn
b4361e21dc
tweak issue template
2018-09-27 21:03:47 -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