Commit Graph

5355 Commits

Author SHA1 Message Date
Robin Dunn
74d3151fcf Merge branch 'cbeytas-treefixes' 2021-01-18 15:42:05 -08:00
Robin Dunn
13cc5db688 I think this wx.Locale() may be unnecessary now that InitLocal has been rewritten... 2021-01-18 15:38:44 -08:00
Kevin Schlosser
ec12b059d7 Fixes transparency in the docking guides for wx.lib.agw.aui
wx.Region no longer selects all non transparent pixels when a wxBitmap is passed to the constructor. In order to get the region made properly a color bust also be supplied. As luck would have it the way the docking guide images were made we are able to do this because there is only a single color that we needed to use.
2021-01-18 15:26:05 -08:00
Scott Talbert
eb0156fed3 Adjust CubeColourDialog's SpinCtrl width when on GTK3
Fixes #1891.
2021-01-18 15:25:33 -08:00
Kevin Schlosser
40e454d179 Fixes floating point math in wx.lib.agw.aui
wx.lib.agw.aui was never converted to run on Python 3 and as a result the division operator forces a conversion of the used values to a float. Floats cannot be used in functions like `range`. This caused quite number of things to not function properly and produce tracebacks.

The other thing is when wx.lib.agw.aui was written pixels could not be rendered using coordinates that were floats so now passing floats could cause rendering alignment problems because the layout of the various bits were done so in a manner that would have the alignment correct using integers.
2021-01-18 15:25:33 -08:00
Robin Dunn
3714437611 Pythonize wx.GenericDirCtrl.GetPaths 2021-01-18 15:25:33 -08:00
Robin Dunn
843a99eb1d wx.DF_PNG has been added 2021-01-18 15:25:33 -08:00
Robin Dunn
7854e31406 Update wxWidgets revision to current master 2021-01-18 15:25:33 -08:00
Robin Dunn
927b00f083 Add wx.ImageDataObject 2021-01-18 15:25:33 -08:00
Robin Dunn
bb32d62f71 Update wxWidgets revision to current master 2021-01-18 15:25:33 -08:00
Robin Dunn
718d5ba223 Fix merge conflict.
Merge branch 'kdschlosser-fixes_agw_aui_docking_guide_transparency'

# Conflicts:
#	wx/lib/agw/aui/framemanager.py
2021-01-18 15:01:21 -08:00
Scott Talbert
ca7b9da7d1 Adjust CubeColourDialog's SpinCtrl width when on GTK3
Fixes #1891.
2021-01-18 14:55:37 -08:00
Kevin Schlosser
2760cbe019 Fixes floating point math in wx.lib.agw.aui
wx.lib.agw.aui was never converted to run on Python 3 and as a result the division operator forces a conversion of the used values to a float. Floats cannot be used in functions like `range`. This caused quite number of things to not function properly and produce tracebacks.

The other thing is when wx.lib.agw.aui was written pixels could not be rendered using coordinates that were floats so now passing floats could cause rendering alignment problems because the layout of the various bits were done so in a manner that would have the alignment correct using integers.
2021-01-18 14:55:25 -08:00
Robin Dunn
b1c76cf7bc Pythonize wx.GenericDirCtrl.GetPaths 2021-01-18 14:53:00 -08:00
Robin Dunn
579cde7ea5 wx.DF_PNG has been added 2021-01-18 14:53:00 -08:00
Robin Dunn
561bc59baa Update wxWidgets revision to current master 2021-01-18 14:53:00 -08:00
Robin Dunn
b593271a84 Merge pull request #1897 from swt2c/cubectrl_gtk3
Adjust CubeColourDialog's SpinCtrl width when on GTK3
2021-01-18 14:46:28 -08:00
Robin Dunn
e32ba711f1 Merge pull request #1896 from kdschlosser/fixes_floating_point_math
Fixes floating point math in wx.lib.agw.aui
2021-01-18 14:44:56 -08:00
Robin Dunn
91a205fb17 Provide a stubbed version of wxHandleFatalExceptions based on wxUSE_ON_FATAL_EXCEPTION 2021-01-18 14:16:59 -08:00
Robin Dunn
3197c46797 Add support for using setCppCode on function objects 2021-01-18 14:15:57 -08:00
Robin Dunn
bcc9510f39 Pythonize wx.GenericDirCtrl.GetPaths 2021-01-16 15:33:57 -08:00
Scott Talbert
6702d14b79 Adjust CubeColourDialog's SpinCtrl width when on GTK3
Fixes #1891.
2021-01-12 23:52:49 -05:00
Kevin Schlosser
7afcc7fbc6 Fixes floating point math in wx.lib.agw.aui
wx.lib.agw.aui was never converted to run on Python 3 and as a result the division operator forces a conversion of the used values to a float. Floats cannot be used in functions like `range`. This caused quite number of things to not function properly and produce tracebacks.

The other thing is when wx.lib.agw.aui was written pixels could not be rendered using coordinates that were floats so now passing floats could cause rendering alignment problems because the layout of the various bits were done so in a manner that would have the alignment correct using integers.
2021-01-11 14:20:07 -07:00
Kevin Schlosser
1466d4eec5 Fixes transparency in the docking guides for wx.lib.agw.aui
wx.Region no longer selects all non transparent pixels when a wxBitmap is passed to the constructor. In order to get the region made properly a color bust also be supplied. As luck would have it the way the docking guide images were made we are able to do this because there is only a single color that we needed to use.
2021-01-11 14:03:42 -07:00
Robin Dunn
2d05ef594e wx.DF_PNG has been added 2021-01-11 12:35:12 -08:00
Robin Dunn
3b653b5555 Update wxWidgets revision to current master 2021-01-11 12:28:52 -08:00
Robin Dunn
969b1b2ddc Add wx.ImageDataObject 2021-01-11 11:56:39 -08:00
Robin Dunn
79bc7431cd Update wxWidgets revision to current master 2021-01-11 11:56:13 -08:00
cbeytas
7b02c88a28 Merge branch 'master' into treefixes 2021-01-10 03:04:29 +00:00
Robin Dunn
4ab028d7c3 Use a global wx.DataFormat 2021-01-07 14:52:34 -08:00
Robin Dunn
224630cf64 Add Config.SIP_TRACE flag 2021-01-07 13:43:11 -08:00
Robin Dunn
e8f184f640 Merge pull request #1890 from wxWidgets/fix-issue1888
Fix sizer flags for joystick demo
2021-01-06 09:42:40 -08:00
Robin Dunn
bb20ee8809 Fix sizer flags for joystick demo 2021-01-05 16:15:10 -08:00
Robin Dunn
a52c279577 Add changelog entry for the switch to SIP 5 2021-01-05 14:35:22 -08:00
Robin Dunn
d29380f50b Merge pull request #1889 from wxWidgets/sip5
Switch to SIP 5.5
2021-01-05 14:09:46 -08:00
Robin Dunn
d42aa53f49 Merge pull request #1884 from timgates42/bugfix_typo_replace
docs: fix simple typo, repalce -> replace
2021-01-05 12:45:45 -08:00
Robin Dunn
f5a18224b7 Merge pull request #1879 from swt2c/fix_sipgenerator_conditional
Fix conditional in sip_generator generateCppMethod_sip()
2021-01-05 12:45:20 -08:00
Robin Dunn
137f998549 Update unpinned packages in the buildbots 2021-01-05 12:30:03 -08:00
Robin Dunn
c385873d70 Add SIP_ABI to the config object 2021-01-05 11:11:26 -08:00
Robin Dunn
c8e25b79e1 Run SIP via its Python interface rather than as a separate subprocess 2021-01-05 11:01:25 -08:00
Robin Dunn
f07c09c293 Update siplib 2021-01-04 15:36:14 -08:00
Robin Dunn
ffd7a02ac4 Add requirement for sip5 2021-01-04 15:33:07 -08:00
Tim Gates
e6c584f3fe docs: fix simple typo, repalce -> replace
There is a small typo in sphinxtools/postprocess.py.

Should read `replace` rather than `repalce`.
2020-12-31 08:58:38 +11:00
Robin Dunn
12db41dad1 Ensure SIP knows about the item container pure virtuals. 2020-12-29 18:11:05 -08:00
Robin Dunn
23b4d865cf Update wxWidgets revision to current master 2020-12-29 18:08:17 -08:00
Robin Dunn
3d1134708e wxGridCellRenderer::Draw has an implementation despite being pure virtual 2020-12-29 14:59:17 -08:00
Scott Talbert
730cdb2107 Fix conditional in sip_generator generateCppMethod_sip()
When I added this code in 5e190eb, it was intended to be used in all cases
except for constructors and destructors.  Instead, it was used in all cases.
This broke the wxRegion constructor and possibly other things.

Fixes #1878.
2020-12-21 23:31:17 -05:00
Robin Dunn
c422227c1d Add Fedora 32 and 33. Retire 30 and 31 2020-12-18 16:37:16 -08:00
Robin Dunn
e198659b25 Merge pull request #1857 from jmoraleda/Issue1856
AuiToolBar checks that it has not been Destroyed by the most recent a…
2020-12-18 16:29:58 -08:00
Robin Dunn
aa2f657441 Merge pull request #1873 from jmoraleda/issue_1872
Ensure variable is created before referencing it in aui framemanager.
2020-12-18 16:24:21 -08:00