Commit Graph

1042 Commits

Author SHA1 Message Date
Robin Dunn
5cb3d97be7 Merge pull request #1779 from carandraug/1778-fix-eventwatcher-import
EventWatcher: fix __import__ usage by replacing it with importlib (cl…
2020-08-31 13:15:47 -07:00
Robin Dunn
732ff6752b Revert "Spelling fixes in wx.lib"
This reverts commit c00b8950da.
The spelling changes were a bit too aggressive.
2020-08-31 13:01:31 -07:00
Carnë Draug
b7912f6754 EventWatcher: fix __import__ usage by replacing it with importlib (closes #1778) 2020-08-27 16:28:38 +01:00
Erki Suurjaak
148ffa08fc In the context of #1734:
- defined more properties for wx.lib.intctrl.IntCtrl: Limited, LongAllowed, Min, Max, NoneAllowed;
- defined more properties for wx.lib.agw.floatspin.FloatSpin: DefaultValue, Digits, Font, Format, Increment, Min, Max;
- added SetMin-SetMax to wx.lib.agw.floatspin.FloatSpin.
2020-08-08 00:06:25 +03:00
Robin Dunn
8b670176d2 Merge pull request #1754 from DKWoods/master
Address issue #1753, fix FloatCanvas GUIMode GUIZoomIn and GUIZoomOut…
2020-07-31 20:52:52 -07:00
DKWoods
b87a4d6ed8 Fixed Case issues with FloatCanvas.Zoom method 2020-07-29 22:28:47 -05:00
DKWoods
0e5cf66fe7 Address issue #1753, fix FloatCanvas GUIMode GUIZoomIn and GUIZoomOut behavior - Part 2 2020-07-27 17:07:15 -05:00
DKWoods
b615941ee1 Address issue #1753, fix FloatCanvas GUIMode GUIZoomIn and GUIZoomOut behavior 2020-07-27 16:16:20 -05:00
lmasini
4d34e6a4ba Added SetBackgroundColour to thumbnailctrl.py 2020-07-25 07:29:20 -07:00
Robin Dunn
5b248eb5f1 Merge pull request #1736 from Metallicow/Optomize-Colour-Brush-Pen
Optomize colour brush pen
2020-07-20 10:40:39 -07:00
Robin Dunn
d2a7b13075 Merge pull request #1735 from suurjaak/numberctrl_properties
Added Value-property for IntCtrl and FloatSpin
2020-07-20 10:40:20 -07:00
Metallicow
542a32c17d Optimize Colour Brush Pen
Use builtin Colours, Brushes, Pens where needed. They are faster.
2020-07-19 23:48:39 -05:00
Erki Suurjaak
4503e9fcf2 Added Value-property for IntCtrl and FloatSpin (fixes #1734). 2020-07-19 22:10:30 +03:00
Scott Talbert
238694ac83 Fix sized_controls SetSizerType for grid sizers
SetGrowableCol / SetGrowableRow seems to have never existed as far as I can
see, so it seems this bug has existed for a long time.

Fixes #1729
2020-07-19 11:11:28 -04:00
Robin Dunn
75f1081f84 Merge branch 'spelling-fixes' 2020-07-16 20:13:31 -07:00
Robin Dunn
c00b8950da Spelling fixes in wx.lib 2020-07-14 12:53:31 -07:00
Jeremy Drake
4a292c3cda Revert "pywxrc: fix embedded resources in python 2.7 and 3"
This reverts commit 234491058f now that
memoryview works properly on python 2.7.
2020-07-02 22:42:27 -07:00
Robin Dunn
fa22d882cd Merge pull request #1688 from jeremyd2019/pywxrc-embedded-binary-resources
pywxrc: fix embedded resources in python 2.7 AND 3
2020-07-02 14:32:46 -07:00
jeremyd2019
234491058f pywxrc: fix embedded resources in python 2.7 and 3
It turns out that memoryview() was resulting in an empty file in python 2.7, whereas bytearray is working in both 2.7 and 3.
2020-06-17 19:35:29 -07:00
Robin Dunn
b452a353ed Merge pull request #1687 from wxWidgets/update-sip
Update sip to 4.19.23
2020-06-17 16:54:02 -07:00
Robin Dunn
6683c58747 Update SIP version and hash for Darwin 2020-06-17 13:01:06 -07:00
Robin Dunn
509b9fa95d Merge pull request #1685 from wxWidgets/fix-issue1683
Ensure the widget has the capture before releasing it
2020-06-17 09:10:37 -07:00
Robin Dunn
fac47514b9 Merge pull request #1674 from Metallicow/Optimize-auitoolbar-OnPaint-method-loop
Optimize auitoolbar OnPaint method loop
2020-06-17 09:02:49 -07:00
Robin Dunn
2f34c2e0c9 Ensure the widget has the capture before releasing it 2020-06-16 20:13:46 -07:00
Metallicow
64e86305a3 Avoid long line per request 2020-06-16 20:53:22 -05:00
Robin Dunn
a9624c0d45 Merge pull request #1677 from Metallicow/remove-exception-in-py-shell-wrap-method
Remove exception in py shell wrap() method
2020-06-16 17:32:30 -07:00
Robin Dunn
3d3ea4f5ab Merge pull request #1676 from Metallicow/Optimize-AuiDefaultTabArt
Optimize AuiDefaultTabArt
2020-06-16 17:31:48 -07:00
Robin Dunn
b2ff4ef7b2 Merge pull request #1675 from Metallicow/Optimize-aui_utilities-TabDragImage-CreateBitmap-method
Optimize aui_utilities TabDragImage CreateBitmap method
2020-06-16 17:30:27 -07:00
Robin Dunn
648bc8a8ec Merge pull request #1673 from Metallicow/Optimize-auitoolbar-OnSize-method-loop
Optimize auitoolbar OnSize method loop
2020-06-16 17:26:46 -07:00
Robin Dunn
a32b74a893 Merge pull request #1679 from jeremyd2019/pywxrc-embedded-binary-resources
pywxrc: fix embedded binary resources for python3
2020-06-16 17:24:43 -07:00
Robin Dunn
2c4aea15ff Merge pull request #1672 from Metallicow/optimize-auitoolbar-Realize-method
Optimize auitoolbar Realize method loop
2020-06-16 17:23:45 -07:00
Robin Dunn
bcd412049c Merge pull request #1671 from Metallicow/remove-wxPy-2.9-check
Remove wxPy < 2.9 check
2020-06-16 17:18:01 -07:00
Robin Dunn
ea681b6be5 Merge pull request #1670 from Metallicow/Optimize-auitoolbar-DrawGripper-loop
Optimize auitoolbar DrawGripper loop
2020-06-16 17:17:17 -07:00
Robin Dunn
ebbfab3f72 Merge pull request #1669 from Metallicow/Reduce-item.GetState()-calls-to-1
Reduce item.GetState() calls to 1
2020-06-16 17:16:02 -07:00
Robin Dunn
610f9268a4 Merge branch 'master' into Hide-page-removed-from-wx.AuiNotebook 2020-06-16 17:12:55 -07:00
Robin Dunn
dff720ccf3 Merge pull request #1666 from Metallicow/Optimize-away-an-unnecessary-extra-wx.AuiNotebook-DoSizing()-call
Optimize away an unnecessary extra wx.AuiNotebook DoSizing() call
2020-06-16 16:57:55 -07:00
Robin Dunn
1423191c31 Merge pull request #1667 from Metallicow/Remove-unused-variables,-unused-assignments-
Remove unused variables, unused assignments
2020-06-16 16:57:12 -07:00
Robin Dunn
23bf0f5853 Merge pull request #1659 from jmoraleda/pdfviewer_alpha_fix
Explicitly indicate that we don't want an alpha channel when rendering pdf image
2020-06-16 16:52:37 -07:00
Robin Dunn
509a82784b Merge pull request #1628 from topic2k/agw_framemanager_closed_pane_event
new event wx.lib.agw.aui.EVT_AUI_PANE_CLOSED
2020-06-16 16:36:38 -07:00
Mesalu
7a9b0161c2 update generated c file 2020-06-15 15:24:23 -07:00
Mesalu
a614427893 Use correct cython boolean type 2020-06-15 15:00:25 -07:00
Mesalu
ecb78f75b1 Preserve bytes immutability.
`nanosvg` modifies its input strings in place (see: 9dd92bbfc6/src/nanosvg.h (L348)),
which will lead to issues attempting to use the same python `bytes` object multiple times. Since bytes objects promise immutability its undesirable to permit them to be modified like this.
To correct for this, we'll copy the bytes object into a new location in memory and pass that new memory location to nanosvg.
2020-06-15 13:34:05 -07:00
jeremyd2019
0b84247e5a pywxrc: fix embedded binary resources for python3
Previously, I was getting errors 'No handler found for image type' and 'Unknown image data format' after updating from wxPython 'classic'.
2020-06-10 11:33:55 -07:00
Metallicow
6e681835a6 Remove exception in py shell wrap() method
This exists in Scintilla when wxPython 4.0 Phoenix came out, so remove it as cruft.
2020-06-09 22:14:18 -05:00
Metallicow
0d27739855 Optimize AuiDefaultTabArt 2020-06-08 14:13:29 -05:00
Metallicow
38a12075b0 Optimize aui_utilities TabDragImage CreateBitmap method
local opt list comprehension is faster
2020-06-08 11:52:05 -05:00
Metallicow
a6918a726d Optimize auitoolbar OnPaint method loop 2020-06-08 10:26:11 -05:00
Metallicow
babbd16559 Optimize auitoolbar OnSize method loop 2020-06-08 09:49:28 -05:00
Metallicow
d9dcc1d7f3 Optimize auitoolbar Realize method loop 2020-06-08 09:13:41 -05:00
Metallicow
4aaec57c99 remove single var also 2020-06-08 08:46:20 -05:00