Commit Graph

5167 Commits

Author SHA1 Message Date
Todd
f3a5e7cb98 Add docstring for show/hide toggle button 2021-12-14 15:33:30 +00:00
Todd
151683f603 New button type: ShowHideToggleButton.
Like a ToggleButton, but with an associated "menu", a Window or Sizer which is shown/hidden when button is toggled. Includes methods for setting active and inactive fore/background colours.
2021-04-01 16:56:54 +01:00
Robin Dunn
64e5d863f7 Merge pull request #1912 from wxWidgets/various-tweaks
Various tweaks
2021-01-29 15:51:05 -08:00
Robin Dunn
8402597523 Add some changelog items 2021-01-29 13:53:32 -08:00
Robin Dunn
8af5dd177e Move the code sample into an expandable section in the github issue template 2021-01-29 13:51:08 -08:00
Robin Dunn
040c59fd99 Change InitLocale to just do locale.setlocale(locale.LC_ALL, "C") to undo what Python (3.8+ on Windows) does. 2021-01-29 13:39:49 -08:00
Robin Dunn
c78823549b Ensure time_t is treated as a 64-bit value by SIP 2021-01-29 13:34:10 -08:00
Robin Dunn
442b50ad78 Ensure the the timers are all stopped when the Timer sample is shutdown 2021-01-20 13:35:31 -08:00
Robin Dunn
66f62480f3 decode the catalog lookup path if needed 2021-01-20 13:34:53 -08:00
Robin Dunn
c3d4881bfd Fix an invalid escape sequence warning 2021-01-20 13:10:33 -08:00
Robin Dunn
3d4155395b Add test cases for GenericDirCtrl.GetPath and GetPaths 2021-01-19 10:07:50 -08:00
Robin Dunn
3500ac7a9e Merge branch 'fix-wxHandleFatalExceptions' 2021-01-18 16:23:45 -08:00
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