Jorge Moraleda
e7b86c546f
Remove inconsistent layout flags that prevent XLSGrid demo from running
2020-07-21 18:00:40 -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
Robin Dunn
75f1081f84
Merge branch 'spelling-fixes'
2020-07-16 20:13:31 -07:00
Robin Dunn
d265d13f6c
Spelling fixes in the demo
2020-07-14 12:00:55 -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
Robin Dunn
c568beefe0
Merge pull request #1658 from swt2c/fix_propgrid
...
Fix some issues with PropertyGrid demo
2020-06-17 09:12:45 -07:00
Scott Talbert
b2cce38d12
Fix some wxPy 4.1 issues with the PropertyGrid demo
...
This addresses some issues reported in #1636 .
2020-06-04 10:44:54 -04:00
Scott Talbert
c38e5297bf
Fix event.Checked() calls in demo
...
Fixes #1652
2020-05-28 17:34:34 -04:00
Robin Dunn
e49398b59b
wx.Clipboard.Flush now asserts on OSX instead of just returning False
2020-05-20 14:49:27 -07:00
Robin Dunn
5c0df63e28
Merge pull request #1643 from Metallicow/fix-STC-StartStyling-demo
...
Fix STC StartStyling Demo
2020-05-20 14:29:04 -07:00
Robin Dunn
433d013ad9
Merge pull request #1608 from jmoraleda/dvc_sample_remove_gtk_exception
...
Remove GTK exceptional handling in DVC Custom Renderer sample
2020-05-20 13:12:54 -07:00
Metallicow
a04e2927a9
Fix STC StartStyling Demo
...
Update indicator stuff to work with wxPy4.0 and 4.1 with scintilla version change
2020-05-19 02:38:08 -05:00
Robin Dunn
88ff7b1697
Remove demo/version.py, it's a generated file.
2020-05-15 12:56:54 -07:00
Robin Dunn
c84aa19c55
Update sample to to show DataViewModel.HasValue usage
2020-05-14 16:49:19 -07:00
Robin Dunn
9d3d2d3f43
Log the wx.DragResult names rather than just the integer value
2020-05-14 16:33:24 -07:00
Robin Dunn
2d241d0fb7
Make some columns editable
2020-05-14 16:33:08 -07:00
Jorge Moraleda
863e3f61da
Remove exception ind DVC Custom Renderer sample that implies that columns with custom renderers cannot be correctly edited under GTK since this is no longer the case.
2020-04-23 16:34:19 -07:00
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