Commit Graph

5004 Commits

Author SHA1 Message Date
Robin Dunn
03e2f70dff Update project classifiers 2020-10-13 22:06:13 -07:00
Robin Dunn
b59bbe32f2 Merge pull request #1819 from wxWidgets/checklistboxmixin
Warnings and workarounds to help phase out CheckListCtrlMixin
2020-10-13 22:04:54 -07:00
Robin Dunn
4d1e8f0b47 Add notes in CHANGES and the MigrationGuide 2020-10-13 16:14:46 -07:00
Robin Dunn
15be2436d1 Give CheckItem.check a default value so it will be less likely for code still using CheckListCtrlMixin to raise an exception. 2020-10-13 16:04:49 -07:00
Robin Dunn
cafa02a2f2 Remove old todo file 2020-10-13 15:57:02 -07:00
Robin Dunn
9bef374ecf Give a warning about CheckListCtrlMixin's redundancy 2020-10-13 15:56:04 -07:00
Robin Dunn
e8f394bc2c Switch the CheckListCtrlMixin demo to just use the new built-in checkbox functionality 2020-10-13 15:40:17 -07:00
Robin Dunn
ba18224e00 Add new names to module map 2020-10-12 14:55:13 -07:00
Robin Dunn
99935b0e10 Update wxWidgets to newest on the master branch 2020-10-12 14:05:02 -07:00
Robin Dunn
88dd4e2f30 Use key-up on MSW and key-down on others. Only skip for keys not handled by the event handler. 2020-10-12 12:46:15 -07:00
Metallicow
a2f316edcf fix small typo in mixin sample example 2020-10-12 12:45:08 -07:00
Metallicow
94ccec7aca Update and fixes per Robins REQz
Robins requested changes found here #1695
Also added current and pressed bitmaps to mixin.
2020-10-12 12:45:08 -07:00
Metallicow
24877a11b1 Add wx.lib.checkbox GenericCheckBox Demo 2020-10-12 12:45:08 -07:00
Metallicow
81843a627f Add wx.lib.checkbox
Sphinx Formatting and other stuff per Robins REQz
2020-10-12 12:45:08 -07:00
Metallicow
c81865ddbb revert disabled flag in unchecked checkbox func
I believe this one looks right now
2020-10-12 12:45:08 -07:00
Metallicow
037dcb96f4 Add PurePython Checkbox
Mostly ported from the wxPyWiki impl and also is a mixin to get bitmaps if desired if hacking on other widgets.
2020-10-12 12:45:08 -07:00
Robin Dunn
37d5244a7f Merge pull request #1807 from Metallicow/Fix-GLCanvas-Demo
Fix GLCanvas Demo
2020-10-12 12:08:43 -07:00
Robin Dunn
739082a8b7 Merge pull request #1817 from wxWidgets/python-3.9
Python 3.9
2020-10-12 12:02:50 -07:00
Robin Dunn
437574895f Add Python 3.9 to the ubuntu-18.04 docker image 2020-10-12 10:21:03 -07:00
Robin Dunn
2c9beabc69 Add buildbot builders for Python 3.9 2020-10-10 16:09:49 -07:00
Robin Dunn
490d2d1a48 Turn on Linux and macOS builds again 2020-10-09 12:55:13 -07:00
Robin Dunn
d1a68eac0f Remove the maxParallel constraints. Let Azure take care of that. 2020-10-09 12:22:48 -07:00
Robin Dunn
d17e0948f3 Add Python 3.8 builds, the Azure agent doesn't have 3.9 yet. 2020-10-09 11:37:02 -07:00
Robin Dunn
2dd41a851c temporarily focus on just the Windows builds 2020-10-09 10:50:45 -07:00
Robin Dunn
faa0467e3a add some code to discover what versions of Python are available on the build agent 2020-10-09 10:45:34 -07:00
Robin Dunn
c08fe42b39 Add Python 3.9 builds for Linux and macOS 2020-10-09 10:44:33 -07:00
Robin Dunn
5854b11693 Pillow doesn't have a build for Python 3.9 yet 2020-10-09 10:43:53 -07:00
Robin Dunn
2e44b43121 Add Python 3.9 to the list 2020-10-09 10:04:33 -07:00
Robin Dunn
8a04577f95 Pin cython version to aid in consistency across platforms 2020-10-09 10:04:13 -07:00
Metallicow
6306a56540 Fix MessageDialog typo and apply Robins REQz 2020-10-09 09:58:45 -05:00
Robin Dunn
4cfb51cbae Merge pull request #1808 from StefanBruens/do_not_mangle_param_name
Do not strip wx prefix from parameter names
2020-10-08 21:16:56 -07:00
Robin Dunn
9db9d72ed4 Merge pull request #1806 from StefanBruens/more_test_fixes
More test fixes
2020-10-08 21:00:32 -07:00
Robin Dunn
f413ead0b2 Merge pull request #1759 from Metallicow/AUI_DOCKART_HINT_WINDOW_BORDER_COLOUR
Add agw.aui.AUI_DOCKART_HINT_WINDOW_BORDER_COLOUR theming
2020-10-08 20:59:36 -07:00
Stefan Brüns
cf30fc3e17 Remove test for default-constructed wxPGWindowList, use Getters
The default constructor has been removed in wxWidgets 3.1.4, commit
https://github.com/wxWidgets/wxWidgets/commit/f2f9cbe61960
"(Get rid of unused wxPGWindowList ctor").

Now, at least the primary is required, the secondary is defaulted.

The members are no longer public in the interface.
2020-10-04 18:53:21 +02:00
Stefan Brüns
83e1470f25 Remove pagebreak array from HtmlDCRenderer::Render parameters
The Render call was changed in
https://github.com/wxWidgets/wxWidgets/commit/e01892c669748065
("Split and simplify wxHtmlDCRenderer::Render()")
2020-10-02 20:54:31 +02:00
Stefan Brüns
dab4757525 Remove tests for removed OS/2 list states, and invalid hittest case
These states were OS/2 specific and have been removed:
https://github.com/wxWidgets/wxWidgets/commit/01f9accd19755fdc
("Remove wxPM, wxWidgets port to OS/2.")

ONITEMRIGHT is only meaningfull for trees, and was removed from the
interface:
https://github.com/wxWidgets/wxWidgets/commit/6c9b3a825407b362
("Improved wxListCtrl::HitTest() docs")
2020-10-02 20:42:54 +02:00
Stefan Brüns
6d59201c00 Remove instatiation test of accidentially exposed values
The values are just internal constants and were only exposed by accident,
reverted by https://github.com/wxWidgets/wxWidgets/commit/9e5dd5091402a7f4
("Revert some changes from incorrect merge that discarded formatting, etc.")
2020-10-02 19:56:42 +02:00
Stefan Brüns
36686a8c75 Pass data as bytes in UIActionSimulator::Test
The Test parameter no longer is a wxString but a const char*, as the
method only handles plain ASCII.
2020-10-02 17:56:53 +02:00
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
08c895a379 Do not strip wx prefix from parameter names
Parameter names should not be mangled, as this causes mismatches between
extractor and xml data:

```
SEVERE: Incompatibility between function/method signature and list of parameters in `wx.html.HtmlHelpWindow.__init__`:
The parameter `WindowID` appears in the method signature but could not be found in the parameter list.
  ==> Function/Method signature from `extractors`: __init__(parent, WindowID, pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.TAB_TRAVERSAL|wx.BORDER_NONE, helpStyle=HF_DEFAULT_STYLE, data=None)
  ==> Parameter list from wxWidgets XML items:     ['parent', 'wxWindowID', 'pos', 'size', 'style', 'helpStyle', 'data']
```
```
  ==> Function/Method signature from `extractors`: SetAssertMode(AppAssertMode)
  ==> Parameter list from wxWidgets XML items:     ['wxAppAssertMode']
```
2020-10-02 00:12:08 +02:00
Metallicow
a811f20cda Fix GLCanvas Demo
Add a bit more example to the cube and the cone. Made note to DO NOT USE glut. It is old.
Folks seem to always have hard time figuring out how to load images. Added image texturing example.
Also changed cone to meshmode.
2020-10-01 00:15:01 -05: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