Robin Dunn
9b0f1e8aec
Avoid assertions in DrawEllipticArc when height is zero
2020-08-31 14:47:46 -07:00
Robin Dunn
4b58bab661
Merge branch 'Fix-PieCtrl-and-Optimize' of https://github.com/Metallicow/Phoenix into Metallicow-Fix-PieCtrl-and-Optimize
2020-08-31 14:10:48 -07:00
Robin Dunn
62b37d24fe
Add stubs for wxUIActionSimulator
2020-08-31 14:09:34 -07:00
Robin Dunn
ad616eea16
Merge pull request #1785 from ryannazaretian/master
...
Fix hypertreelist.py SetColumnWidth calls incorrect function for LIST_AUTOSIZE_CONTENT_OR_HEADER #1784
2020-08-31 13:48:24 -07:00
Metallicow
fa68af686d
Fix per Robins REQz #1764
...
another way to do just 1
2020-08-31 15:42:40 -05:00
Robin Dunn
beb55bc88a
Restore missing SetWindowVariant
2020-08-31 13:25:56 -07:00
Robin Dunn
fa620e6e43
Merge branch '1780-fix-eventwatcher-filter' of https://github.com/carandraug/Phoenix into carandraug-1780-fix-eventwatcher-filter
2020-08-31 13:21:43 -07:00
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
Robin Dunn
382a840110
Merge pull request #1770 from swt2c/fix_propgrid_virtuals
...
Don't remove wxPropertyGrid virtuals when calling fixWindowClass
2020-08-31 12:45:22 -07:00
Robin Dunn
80f15d6aa1
Merge pull request #1763 from suurjaak/numberctrl_properties
...
Defined more properties for IntCtrl and FloatSpin
2020-08-31 11:19:40 -07:00
Ryan Nazaretian
05fbbfb3b5
Fixed issue with SetColumnWidth() using LIST_AUTOSIZE_CONTENT_OR_HEADER
...
Without the change, SetColumnWidth(**col**, LIST_AUTOSIZE_CONTENT_OR_HEADER) would throw this:
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/wx/lib/agw/hypertreelist.py", line 4645, in SetColumnWidth
width2, dummy, dummy = dc.GetMultiLineTextExtent(self._header_win.GetColumnText(column))
ValueError: not enough values to unpack (expected 3, got 2)
I ended up using the function called when LIST_AUTOSIZE_CONTENT_OR_HEADER, but reducing the number of **dummy** variables. To be consistent, I did the same for LIST_AUTOSIZE_USEHEADER.
2020-08-28 11:41:54 -05:00
Ryan Nazaretian
597dc00d20
Update hypertreelist.py
2020-08-28 11:30:45 -05:00
Carnë Draug
2d295b29c3
eventwatcher.EventChooser: fix using wx.CheckListBox ( closes #1780 )
2020-08-27 19:09:44 +01:00
Carnë Draug
b7912f6754
EventWatcher: fix __import__ usage by replacing it with importlib ( closes #1778 )
2020-08-27 16:28:38 +01:00
Scott Talbert
92b2378548
Don't remove wxPropertyGrid virtuals when calling fixWindowClass
...
Fixes #1765
2020-08-13 17:25:49 -04:00
Metallicow
038b3e39fe
Optimize piectrl.py
...
OnPaint - Draw timeit results
PieCtrl Demo Colorwheel Benchmark
Before
TIMEIT 0.10100555419921875 Animated
TIMEIT 0.10600614547729492 Colorwheel
After
TIMEIT 0.08300471305847168 Animated
TIMEIT 0.08600497245788574 Colorwheel
2020-08-08 00:49:59 -05:00
Metallicow
cca15e4490
Fix wxassertionerror. Bitmap w or h should not be 0
2020-08-08 00:43:29 -05:00
Robin Dunn
57702fa7df
Set wxWidgets ref to the v3.1.4 release tag
2020-08-07 15:14:02 -07:00
Robin Dunn
f32311e20c
Update FIXME notes about the GridActivationResult issue
2020-08-07 14:38:11 -07:00
Robin Dunn
10dbdaa678
Add a note about the sizer item flags validation to the Migration Guide
2020-08-07 14:28:48 -07: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
Robin Dunn
a915c8f538
Merge pull request #1757 from wxWidgets/trim-builds
...
Trim number of builds
2020-07-31 20:49:10 -07:00
Robin Dunn
ab38784ac7
Add building the wxPython docset to the buildbot job
2020-07-31 17:41:15 -07:00
Robin Dunn
4d71f4c6c6
Add the ability to not select "old" distros by default
2020-07-31 12:57:29 -07:00
Robin Dunn
fa78c16b19
Merge pull request #1749 from StefanBruens/test_fixes
...
Unittest fixes
2020-07-31 10:50:27 -07:00
Robin Dunn
07a1e9ea96
Drop Python2.7 from the docker builds, and default to gtk3 only
2020-07-30 21:03:04 -07:00
DKWoods
b87a4d6ed8
Fixed Case issues with FloatCanvas.Zoom method
2020-07-29 22:28:47 -05:00
Stefan Brüns
7015096786
Fix tests, current wxWidgets uses rounding for wxPoint from real
...
Since wxWigets 3.1.2, several wxPoint/wxRealPoint/wxSize operations
no longer truncate results and do correct rounding. Reflect this in
the expected results.
2020-07-30 02:52:29 +02:00
Stefan Brüns
6cd96a3d71
Fix test, remove check for TB_3DBUTTONS toolbar style
...
The style has been removed for wxWidgets 3.1.0, see
https://github.com/wxWidgets/wxWidgets/pull/137
2020-07-30 02:52:29 +02:00
Stefan Brüns
4d2beb5be5
Fix SearchCtrl test by removing checks for TextCtrl methods
...
Since commit 9eb9497afc ("The new native wxSearchCtrl on GTK does not
include the wxTextCtrl methods, just those from wxTextEntry.") the
methods are no longer part of the SearchCtrl.
2020-07-30 02:52:29 +02:00
Stefan Brüns
ae237e7c45
Fix STC.StartStyling call in unittests
...
See https://github.com/wxWidgets/Phoenix/pull/1643
Fixes https://github.com/wxWidgets/Phoenix/issues/1748
2020-07-30 02:52:24 +02:00
Robin Dunn
28b710f19d
Drop Py27 builds in the buildbot
2020-07-29 17:16:16 -07:00
Robin Dunn
3e33207e6d
Drop Py27 builds
2020-07-29 17:12:32 -07:00
Robin Dunn
c7c5c93612
Let's see if Azure Pipelines will let us have a longer timeout
2020-07-29 17:10:17 -07:00
Robin Dunn
1f222c7e87
Merge pull request #1739 from jmoraleda/XLSGridDemoFix
...
Remove inconsistent layout flags that prevent XLSGrid demo from running
2020-07-29 15:49:08 -07:00
Robin Dunn
d061009b9e
Add FromPNGData factory, and fix markup in some docstrings
2020-07-29 14:58:16 -07:00
Robin Dunn
428237a6f9
Add docstrings for some compatibility aliases
2020-07-29 14:58:16 -07:00
Robin Dunn
a24438377a
Merge pull request #1752 from oleksis/patch-1
...
Fix typo
2020-07-29 14:44:03 -07:00
Robin Dunn
534533da65
Merge pull request #1746 from lmasini/SetBackgroundColour
...
Added SetBackgroundColour to thumbnailctrl.py
2020-07-29 14:26:04 -07: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
Oleksis Fraga Menéndez
8a4a45a079
Fix typo
...
recursively -> recursive
2020-07-27 12:21:20 -04:00
lmasini
4d34e6a4ba
Added SetBackgroundColour to thumbnailctrl.py
2020-07-25 07:29:20 -07:00
Jorge Moraleda
e7b86c546f
Remove inconsistent layout flags that prevent XLSGrid demo from running
2020-07-21 18:00:40 -07:00
Robin Dunn
33fa9afdcc
Minor tweaks in sip/gen/README.txt
2020-07-20 10:42:06 -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
Robin Dunn
b8d1e32ae8
Merge pull request #1733 from swt2c/fix_issue_1729
...
Fix sized_controls SetSizerType for grid sizers
2020-07-20 10:35:43 -07:00