Commit Graph

4628 Commits

Author SHA1 Message Date
Robin Dunn
52c00542eb Streamline fetching WX_CONFIG from the environment 2020-03-23 14:50:52 -07:00
Robin Dunn
9b122237c9 if WX_CONFIG is set in the environment then use that instead of defaulting to "wx-config" 2020-03-20 15:25:34 -07:00
Robin Dunn
8e2627e8e3 Merge pull request #1564 from pbrod/Fix_issue1556
Fixes issue #1556
2020-03-20 15:19:40 -07:00
Robin Dunn
68e8650a4d Merge pull request #1563 from pbrod/Fix_issue1555
Fixes issue 1555
2020-03-20 15:06:21 -07:00
Robin Dunn
460e69aec3 Merge pull request #1562 from pbrod/fix-issue1557
Fixes issue #1557 by replacing call to tempfile.mktemp with tempfile.…
2020-03-20 15:04:12 -07:00
Robin Dunn
1eafa7e77d Merge pull request #1559 from pbrod/Fix_test_propgridprops2
Fixes issue #1549: test_propgridprops12 fails on windows
2020-03-20 14:49:10 -07:00
Robin Dunn
7eaf6b1d86 Add snippet for GridFitMode 2020-03-20 13:30:04 -07:00
Robin Dunn
9813e50502 Don't generate docs for the wxObjectDataPtr template 2020-03-20 13:29:43 -07:00
Per A. Brodtkorb
033c18fd9f Fixes issue #1556
Replaced XXX.keys() calls with idiomatic python 3 calls that are compatible with python 2 such as eg:
 * replaced "y = xxx.keys()" or "y = list(xxx.keys())" with just "y = list(xxx)"
 * replaced "sorted(xxx.keys())" or "sorted(list(xxx.keys()))" with just "sorted(xxx)"
 * replaced "if not A in B.keys():" with "if A not in B:"
 * replaced "for A in B.keys():"  with "for A in B:"

See also https://python-future.org/compatible_idioms.html
https://python-future.org/compatible_idioms.html#dict-keys-values-items-as-a-list
2020-03-20 18:51:19 +01:00
Per A. Brodtkorb
05ac589e2d Fixes issue 1555
Replace open-close statements by the use of "with"-blocks.

With the "With" statement, you get better syntax and exceptions handling.

"The with statement simplifies exception handling by encapsulating common
preparation and cleanup tasks."

In addition, it will automatically close the file. The with statement provides
a way for ensuring that a clean-up is always used.
2020-03-20 15:03:09 +01:00
Per A. Brodtkorb
f2dbd64253 Fixes issue #1557 by replacing call to tempfile.mktemp with tempfile.NamedTemporaryFile. 2020-03-20 14:51:28 +01:00
Per A. Brodtkorb
2830ccf783 Fixes issue #1549: test_propgridprops12 fails on windows 2020-03-20 12:40:36 +01:00
Robin Dunn
ef1edacc20 Merge pull request #1552 from wxWidgets/fix-issue1084
skip the pyi tests for now, also allow wchar_t global name strings
2020-03-17 23:24:47 -07:00
Robin Dunn
adf1a1522c Skip the pyi unittests for now.
It seems that ensuring that they are valid executable Python is not as important as it was in the past.
2020-03-17 17:48:36 -07:00
Robin Dunn
b503793e5e Add ability to make global name strings from a wchar_t constant 2020-03-17 17:46:56 -07:00
Robin Dunn
29b7095888 Merge pull request #1551 from wxWidgets/fix-issue1476
Fix inconsistencies and missing event
2020-03-17 17:38:26 -07:00
Robin Dunn
4444d63c1f Add missing clipboard event type and binder 2020-03-17 15:57:10 -07:00
Robin Dunn
2c378393a9 Remove the very outdated classic_vs_phoenix document 2020-03-17 15:43:38 -07:00
Robin Dunn
45245cd97f Ensure DisplayContextPopup is seen in HTMLHelpController 2020-03-17 15:43:19 -07:00
Robin Dunn
2cdd15cbe7 Merge pull request #1550 from wxWidgets/fix-issue1536
wxHelpControllerBase does not need to be explicitly tagged as abstract
2020-03-16 23:21:46 -07:00
Robin Dunn
3f4d57ac9c wxHelpControllerBase does not need to be explicitly tagged as abstract 2020-03-16 23:21:04 -07:00
Robin Dunn
9e42750b59 Fix typo 2020-03-13 16:10:10 -07:00
Robin Dunn
d012cbcd2c Merge pull request #1548 from wxWidgets/fix-issue1527
Add missing IsAcceptedKey
2020-03-13 16:09:56 -07:00
Robin Dunn
9212a7196a Merge pull request #1547 from wxWidgets/fix-issue1535
Fix middle icon issue in SpeedMeter
2020-03-13 11:56:21 -07:00
Robin Dunn
e41fd89a1e Fix minor issue in GridCustEditor demo 2020-03-13 11:53:56 -07:00
Robin Dunn
5154f21923 Update wxWidgets ref to get IsAcceptedKey and other updates 2020-03-13 11:53:20 -07:00
Robin Dunn
1f33298627 Add new font families and weights 2020-03-13 10:42:08 -07:00
Robin Dunn
f55917037e Resizing of Bitmaps and Icons no longer supported on OSX. Load into a wx.Image and Rescale there. 2020-03-13 10:41:15 -07:00
Robin Dunn
ad4fd0db53 Initialize self._middleicon, verify it is valid before trying to use it 2020-03-13 10:40:00 -07:00
Robin Dunn
8f7a1fd417 Another name fix for wxObjectDataPtr 2020-03-12 15:10:11 -07:00
Robin Dunn
2783a03ed7 Merge branch 'copyright-dates' 2020-03-10 11:42:06 -07:00
Robin Dunn
9f2cc54b48 Update copyright years 2020-03-10 11:41:39 -07:00
Robin Dunn
adaaf76670 Merge pull request #1541 from wxWidgets/update-wx-ref
Update wxWidgets reference to current
2020-03-09 12:28:09 -07:00
Robin Dunn
627594f53a Merge pull request #1540 from wxWidgets/fix-issue1539
Inform SIP about the pure virtuals implemented in HtmlHelpController
2020-03-09 12:27:50 -07:00
Robin Dunn
b7449a7459 Merge pull request #1534 from notgiven688/tabheightissue
Fixed a bug in the tabHeight calculation.
2020-03-09 12:27:12 -07:00
Robin Dunn
5fb8b1a772 Fix some return types 2020-03-05 12:58:10 -08:00
Robin Dunn
c7a6d16793 Inform SIP about the pure virtuals implemented in HtmlHelpController 2020-03-05 09:54:37 -08:00
Robin Dunn
e16401abc4 Use UTI strings for custom data format names.
It seems to be required on macOS now.
2020-03-05 09:52:24 -08:00
Robin Dunn
3b36621130 Update wxWidgets ref to current 2020-03-05 09:48:09 -08:00
Robin Dunn
3761507882 wxObjectDataPtr, wxGridCell*Ptr, and other changes needed for updated wxWidgets 2020-03-05 09:48:09 -08:00
Robin Dunn
162ee86486 Update wxWidgets ref to current 2020-03-05 09:48:09 -08:00
Robin Dunn
dd0ca50962 Merge pull request #1538 from wxWidgets/help-controller
Add wx.HtmlController and wx.msw.CHMHelpController
2020-03-02 18:27:29 -08:00
Robin Dunn
12cce4000c Fix doctring 2020-03-02 16:06:24 -08:00
Robin Dunn
55d3fd4e70 Explain why wxCHMHelpController is in src instead of etg. 2020-03-02 16:01:42 -08:00
Robin Dunn
b0b2063224 Add changelog entry 2020-03-02 15:56:40 -08:00
Robin Dunn
06a7a065f9 fix imports 2020-03-02 15:23:51 -08:00
Robin Dunn
434365ec00 Add CHMHelpController, and a wx.HelpController factory function 2020-03-02 15:13:34 -08:00
Robin Dunn
b680b7f16e More color name fixes 2020-02-27 14:33:23 -08:00
Linneweber, Thorben, Dr. (G-GEAC)
9dc006f6a7 Fixed a bug in the tabHeight calculation. 2020-02-27 10:21:09 +01:00
Robin Dunn
cbd3f712b0 Merge pull request #1533 from wxWidgets/fix-issue1525
Add __index__ to wx.WindowID, and __bool__ to wx.Region
2020-02-26 20:01:08 -08:00