Commit Graph

4962 Commits

Author SHA1 Message Date
Stefan Brüns
62cda454f1 Do not specify invalid alignment in BoxSizer flags
Specyfing a horizontal alignment in a wxHORIZONTAL layed out BoxSizer
is pointless, and doing so throws an exception:

wx._core.wxAssertionError: C++ assertion "!(flags & wxALIGN_RIGHT)"
failed at ./src/common/sizer.cpp(2133) in DoInsert():
Horizontal alignment flags are ignored in horizontal sizers
2020-10-02 17:56:43 +02:00
Stefan Brüns
9baba68cff Remove constructor test for no longer existant AuiPanelButton
The helper class was removed in wxWidgets 3.1.4, commit
https://github.com/wxWidgets/wxWidgets/commit/5663157674c31ea0
("Fix link between flags and buttons in wxAuiManager").
2020-10-02 15:23:26 +02:00
Stefan Brüns
0168c425ec Do not try to manually create a wx.PaintEvent
Since wxWidgets 3.1.4, manually creating a wxPaintEvent is no longer
possible, also see commit 3761507882 ("wxObjectDataPtr, wxGridCell*Ptr,
and other changes needed for updated wxWidgets").
2020-10-01 01:52:34 +02:00
Robin Dunn
47c4a913d3 Merge branch 'sip-4.19.24' into master 2020-09-16 17:33:07 -07:00
Robin Dunn
ca3367a340 Enable GridActivationResult and GridActivationSource 2020-09-16 16:38:45 -07:00
Robin Dunn
fbca74c826 Sip MD5s for Linux 2020-09-16 16:30:12 -07:00
Robin Dunn
ed834e7640 Copy the new sip.h 2020-09-16 16:15:17 -07:00
Robin Dunn
ff4106cb9d Win32 MD5 for sip 2020-09-16 15:58:09 -07:00
Robin Dunn
4a6c6d2f86 update siplib 2020-09-16 15:52:07 -07:00
Robin Dunn
257c06ba20 Update SIP to version 4.19.24, Darwin MD5 2020-09-16 15:50:26 -07:00
Robin Dunn
e5021fb5ae Merge pull request #1793 from wxWidgets/update-wxwidgets
Update wxWidgets
2020-09-10 16:07:16 -07:00
Robin Dunn
8b839328d4 Remove the ART_ID workaround 2020-09-10 13:48:26 -07:00
Robin Dunn
05ae56ab2a Merge pull request #1792 from maddox32/master
avoid sizer assert agw/PyProgress
2020-09-10 13:36:45 -07:00
Robin Dunn
820aa6c01b Merge pull request #1790 from evilnose/fix-issue1788
Remove deprecated style 'TB_3DBUTTONS' from ShortcutEditor
2020-09-10 13:35:53 -07:00
Robin Dunn
4b9b8ad93e Add the EnableVisibleFocus virtual method to all window classes 2020-09-10 13:06:31 -07:00
Robin Dunn
557cfaf4da New grid selection events 2020-09-10 13:04:59 -07:00
Robin Dunn
510adc9aa1 wxWidgets version is now 3.1.5 2020-09-10 12:44:48 -07:00
Robin Dunn
55feac3de5 Update wxWidgets revision to current master 2020-09-10 12:42:46 -07:00
maddox32
cbe476df0b Remove superflous if 2020-09-10 19:35:54 +02:00
maddox32
1ee432bfab Avoid sizer flag assert 2020-09-10 19:35:05 +02:00
Gary Geng
5e98a91793 Remove deprecated style 'TB_3DBUTTONS' from ShortcutEditor 2020-09-07 10:47:21 -05:00
Robin Dunn
bfb335672e Merge pull request #1786 from wxWidgets/fix-issue1782
Ensure the watch list widget is updated after adding a new module
2020-08-31 16:31:35 -07:00
Robin Dunn
71c7514593 Temporary workaround for the changes in the wxART IDs C++ implementation 2020-08-31 15:32:19 -07:00
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
86734c2697 Ensure the watch list widget is updated after adding a new module 2020-08-31 13:38:15 -07: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