Commit Graph

391 Commits

Author SHA1 Message Date
Robin Dunn
aa8430ad39 Fix error with symlinks when building the wheel on Linux 2020-04-23 15:14:41 -07:00
Robin Dunn
260d08e32d wxGRIDTABLE_REQUEST_VIEW_GET_VALUES and wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES have been removed from wxWidgets 2020-04-17 20:18:58 -07:00
Robin Dunn
7a4612d6a4 tweak comments 2020-04-09 13:54:00 -07:00
Robin Dunn
5be2356b2c SASH_STATUS_OUT_OF_RANGE is in wx.adv 2020-04-07 19:14:32 -07:00
Robin Dunn
2baac81cee Merge pull request #1579 from wxWidgets/fix-1567-AnimationDecoder
Use generic animation classes on all platforms
2020-04-06 20:16:51 -07:00
Robin Dunn
550cf16034 Rename the module in the demo to match the actual class name 2020-04-06 15:12:55 -07:00
Robin Dunn
bd6af90b41 Add CreateCompatibleAnimation 2020-04-06 14:55:45 -07:00
Robin Dunn
6037779151 Try different usages of creating the animation and control 2020-04-06 12:52:43 -07:00
Robin Dunn
0d6f2d211e Changes needed to ensure both the native and generic controls can be used in the wxGTK build. 2020-04-06 12:02:04 -07:00
Robin Dunn
1b579fc648 More updates for changes in wxWidgets animation classes 2020-04-05 18:31:09 -07:00
Robin Dunn
28f9534a91 Fix some glitches in the dataview samples 2020-04-02 16:35:07 -07:00
Robin Dunn
7aac38dbcb Updates needed for animation updates in wxWidgets 2020-04-01 15:30:27 -07:00
Robin Dunn
089097654d Add changelog entry 2020-03-30 16:05:37 -07:00
Robin Dunn
b92bf63884 Add ability to select native of generic animation classes 2020-03-30 15:47:24 -07:00
Per A. Brodtkorb
426258b7b7 Adding missing close for open and replaced "fid=open(filename) fid.close()"
statements with the safer "with open(filename) as fid:" blocks.

Also removed unnecessary "try: ... finally: pass" statements
and refactored code from img2py function into _write_image and _replace_non_alphanumeric_with_underscore

Fixes #1574
2020-03-25 10:36:38 +01:00
Robin Dunn
7a05d20d82 Merge pull request #1572 from pbrod/Fix_issue1571
Fixes issue 1571:
2020-03-23 16:07:22 -07:00
Robin Dunn
41c5af9cde Merge pull request #1569 from pbrod/Fix_issue1554
Fixes issue # 1554:
2020-03-23 15:35:41 -07:00
Per A. Brodtkorb
e4e8bf8317 Fixes issue 1571:
Adding missing close for open.
If the "close()" call is missing after a "open(filename)" call, the filename isn't guaranteed to be closed before the interpreter exits.
This is generally a bad practice as explained here: https://stackoverflow.com/questions/7395542/is-explicitly-closing-files-important

Also replaced "fid=open(filename) fid.close()" statements for files with the safer
"with open(filename) as fid:" blocks. See https://www.python.org/dev/peps/pep-0343/
2020-03-23 17:16:44 +01:00
Per A. Brodtkorb
fc1823315b Fixes issue # 1554:
Replaced "== None" and "!= None" with "is None" and "is not None", respectively, because the former is slower and error-prone.
2020-03-23 11:53:36 +01: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
Robin Dunn
d012cbcd2c Merge pull request #1548 from wxWidgets/fix-issue1527
Add missing IsAcceptedKey
2020-03-13 16:09:56 -07:00
Robin Dunn
e41fd89a1e Fix minor issue in GridCustEditor demo 2020-03-13 11:53:56 -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
9f2cc54b48 Update copyright years 2020-03-10 11:41:39 -07: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
ricpol
6d2aeab407 fix issue 1513 2020-02-11 12:51:43 +01:00
Scott Talbert
ae11372614 Fix GLCanvas demo when using HiDPI display
OpenGL operates using physical pixels, so we need to factor in the scale
factor when setting the GL viewport.
2020-01-25 12:46:23 -05:00
Robin Dunn
dd88295af4 Change initial window size 2020-01-22 11:25:42 -08:00
Robin Dunn
ed035b51b3 Fix typo 2020-01-22 11:24:54 -08:00
Robin Dunn
03298a49cc Add overview text for DataViewCustomRenderer demo 2020-01-22 11:24:35 -08:00
Robin Dunn
49cceecbdf Added wrappers for the wx.CollapsibleHeaderCtrl class 2019-10-30 13:03:51 -07:00
Robin Dunn
e972814cd3 Add wx.ActivityIndicator 2019-10-29 15:23:08 -07:00
Robin Dunn
7734fb1f10 Minor demo tweaks 2019-10-29 15:22:44 -07:00
topic2k
a376bf8bb8 Use default position for PopupMenu in demo.agw.UltimateReportDemo.TestFrame 2019-10-23 09:46:24 +02:00
topic2k
2f19c5a0eb Use default position for PopupMenu in demo.agw.AUI.AuiFrame 2019-10-23 09:33:12 +02:00
Robin Dunn
762863aae0 Only decode the file content on Py2 2019-10-22 15:26:08 -07:00
Robin Dunn
33698e5d9e Show how to use a different font on a menu item 2019-10-17 14:27:37 -07:00
Robin Dunn
0c1a594344 Display the RGBA values of the system colors 2019-10-10 12:32:50 -07:00
Robin Dunn
1cbde7b685 Use wx.LIGHT_GREY as the default colour, it is closer to the real default background 2019-10-07 15:33:31 -07:00
Robin Dunn
4fe640b9d5 Leave a bit of space between the controls 2019-10-07 15:18:24 -07:00
Robin Dunn
50b9cfd95a Don't start out with a transparent colour, the ColourDialog on OSX will not change it without extra steps 2019-10-07 15:17:53 -07:00
Robin Dunn
0eba88c53a cockie --> cookie 2019-10-07 15:16:36 -07:00
Robin Dunn
8395898ea5 Merge branch 'improve-hypertreelist' of https://github.com/ThomasP0815/Phoenix into ThomasP0815-improve-hypertreelist 2019-10-07 13:35:23 -07:00
Pappenreiter.Thomas
5c373dcc67 hypertreelist demo extended 2019-10-07 13:02:42 +02:00
Robin Dunn
5afa4ed086 Revert part of 7e3844710d 2019-09-19 15:39:42 -07:00
Robin Dunn
9658a8c426 Some fixes for Py2 2019-09-12 11:58:38 -07:00
Robin Dunn
537c5cec6e Merge pull request #1323 from wxWidgets/add-wxsvg
Add support for parsing and rendering SVG files
2019-09-11 23:23:27 -07:00
Robin Dunn
3f07e0d98f Fix overview text 2019-09-11 20:28:30 -07:00
Robin Dunn
9e45e484dd Add ability to select some other SVG file to view 2019-09-11 16:37:41 -07:00
Robin Dunn
6206d20bad Various small tweaks and fixes 2019-09-11 12:56:11 -07:00