Robin Dunn
2f34c2e0c9
Ensure the widget has the capture before releasing it
2020-06-16 20:13:46 -07:00
Robin Dunn
346fe89ce8
minor typos and tweaks
2020-06-16 19:51:09 -07: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
d7edb30484
Merge pull request #1668 from Metallicow/Hide-page-removed-from-wx.AuiNotebook
...
Hide page removed from wxAuiNotebook
2020-06-16 17:13:32 -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
139d889f25
Merge pull request #1665 from swt2c/wxvariant_longlong
...
Add support for longlong and ulonglong in wxVariant out helper
2020-06-16 16:55:32 -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
b3c5fa87b9
Merge pull request #1655 from swt2c/fix_customobj_setdata
...
Fix stack overflow when overriding wx.CustomObject.SetData
2020-06-16 16:43:59 -07:00
Robin Dunn
ed4ccc246b
Merge pull request #1653 from swt2c/fix_checked
...
Fix event.Checked() calls in demo
2020-06-16 16:37:21 -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
Robin Dunn
3923a16606
Merge pull request #1680 from wxWidgets/nsvg_preserve_immutability_of_bytes
...
Preserve `bytes` immutability.
2020-06-16 16:34:31 -07:00
Robin Dunn
0395b3543f
Merge pull request #1650 from swt2c/submenu_transfer_master
...
Set transfer flag for subMenu in MenuItem constructor
2020-06-16 16:33:33 -07:00
Mesalu
74b7ca8194
Update change log
2020-06-15 15:25:48 -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
Scott Talbert
4c56d3b24e
Ignore wxLongLong and wxULongLong overloads in PG interface
...
Fixes #1663 . With these overloads in place, EnumProperty's get created as
long long in the C++ side, which results in problems because wxWidgets expects
them to be plain longs. Also ignore char* and wchar* overloads which are not
needed and cause problems for PyObjectProperty.
2020-06-10 15:51:36 -04: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
Scott Talbert
0c18353adb
Add support for longlong and ulonglong in wxVariant out helper
...
Fixes #1299
2020-06-10 14:25:45 -04: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
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
Metallicow
9173bc479f
Remove wxPy < 2.9 check
2020-06-08 08:39:21 -05:00
Metallicow
e7022230ae
Optimize auitoolbar DrawGripper loop
2020-06-08 08:13:26 -05:00
Metallicow
7d3bf72e6b
Merge branch 'Reduce-item.GetState()-calls-to-1' of https://github.com/Metallicow/Phoenix into Reduce-item.GetState()-calls-to-1
2020-06-08 07:16:38 -05:00
Metallicow
d710c0ffcc
Reduce item.GetState() calls to 1
...
With a toolbar(s) with x amount of buttons reduce the number of calls from possibly 3-6 each iteration down to 1.
2020-06-08 07:14:58 -05:00
Metallicow
1dcd1772cd
revert mistaked line again
2020-06-08 07:04:17 -05:00
Metallicow
fe028d7dad
revert mistaked line
2020-06-08 07:03:11 -05:00
Metallicow
861e0511c0
Reduce item.GetState() calls
2020-06-08 07:00:54 -05:00
Metallicow
2f68c7c6d8
Reduce item.GetState() calls to 1
...
With a toolbar(s) with x amount of buttons reduce the number of calls from possibly 3-6 each iteration down to 1.
2020-06-08 06:49:27 -05:00
Metallicow
ca28d96a83
Hide page removed from wxAuiNotebook
...
It doesn't make sense to leave the page shown, and overlapping the
remaining pages, after removing it.
see acff8466a7
2020-06-08 02:02:54 -05:00
Metallicow
2fbac77fda
Remove unused variables, unused assignments
...
see b5028f267d
2020-06-08 01:48:18 -05:00
Metallicow
4a78bfaa8c
Optimize away an unnecessary extra wx.AuiNotebook DoSizing() call
...
There is no need to call DoSizing() again if it has just been called
from UpdateTabCtrlHeight().
See dca84c823c
2020-06-08 01:04:45 -05:00
Jorge Moraleda
d1f66f5513
Explicitly indicate that we don't want an alpha channel when rendering pdf pages
...
to account from the fact that the default on this parameter differs between
mupdf versions
2020-06-04 14:35:41 -07:00
Scott Talbert
5e190eb42e
Fix stack overflow when overriding wx.CustomObject.SetData
...
In the implementation of wx.CustomData.SetData, we need to check the
sipSelfWasArg variable to determine whether to call the parent class
implementation of SetData. To do this, we switched to using addCppMethod_sip
which allows us to access the sipSelfWasArg variable. The sip generator
stuff for CppMethod_sip needed some additions to match the behavior of
CppMethod.
2020-05-31 13:43:32 -04:00
Scott Talbert
c38e5297bf
Fix event.Checked() calls in demo
...
Fixes #1652
2020-05-28 17:34:34 -04:00
Scott Talbert
0e0b6b72a2
Set transfer flag for subMenu in MenuItem constructor
...
This fixes a crash when wx.MenuItem with a submenu. Fixes #1648 .
2020-05-27 11:53:57 -04:00