Commit Graph

4918 Commits

Author SHA1 Message Date
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
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
Metallicow
5ceaff1874 Convert all line endings to Unix(LF) 2020-07-19 23:56:16 -05:00
Metallicow
0bdbfd532d revert richtooltip bork 2020-07-19 23:54:21 -05: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
4cc48522b4 New names added to the map 2020-07-16 20:12:43 -07:00
Robin Dunn
9079f2d216 Update the wxWidgets reference 2020-07-16 20:12:11 -07:00
Robin Dunn
baa9b01930 Merge pull request #1726 from swt2c/more_pg_fixes
Fix wx.PropertyGridManager GetExtraStyle() and GTK3 demo issue
2020-07-16 19:27:41 -07:00
Robin Dunn
a0ae876bff Merge pull request #1709 from jeremyd2019/wxpybuffer-python2
Try both old and new buffer protocols on python2.7
2020-07-16 19:23:14 -07:00
Robin Dunn
c00b8950da Spelling fixes in wx.lib 2020-07-14 12:53:31 -07:00
Robin Dunn
d265d13f6c Spelling fixes in the demo 2020-07-14 12:00:55 -07:00
Robin Dunn
92f8cd2d55 Fix lots of misspelled words 2020-07-14 11:38:32 -07:00
Scott Talbert
3a7748db47 PG Demo: OR the "help as tooltips" flag instead of setting
This fixes an issue on GTK3 platforms with HiDPI screens.  When using
SetExtraStyle(), all of the existing flags, including native double buffering,
were being cleared.  GTK3 currently has issues when native double buffering is
disabled, so this ensures that the existing default flags aren't overwritten.
2020-07-14 10:06:53 -04:00
Scott Talbert
f42d2de988 Update wxWidgets commit for wxPG GetExtraStyle() fix 2020-07-14 10:06:53 -04:00
Robin Dunn
bd6733afa2 Add, and ignore for now, some new things in grid 2020-07-08 16:59:11 -07:00
Robin Dunn
9b682d61c4 Update wxWidgets commit ref 2020-07-08 16:50:36 -07:00
Robin Dunn
503e9e2340 Merge pull request #1719 from wxWidgets/fix-issue1718
Fix compilation errors in glcanvas stubs
2020-07-08 16:11:26 -07:00
Robin Dunn
2e413a1c33 Fix compilation errors in glcanvas stubs 2020-07-08 09:35:42 -07:00
Robin Dunn
07941fc888 Ignore the TryActivate method for now,
some related compilation issues need to be resolved first.
2020-07-07 16:52:45 -07:00