Robin Dunn
c0341cb2b6
Merge pull request #1826 from Metallicow/Reduce-flicker-svg-demos
...
Reduce flicker in svg demos
2020-11-05 13:44:57 -08:00
Robin Dunn
be94264761
The Bitmap mask bug on OSX has been fixed, switch back to using the bitmap to get the shape
2020-10-22 15:36:06 -07:00
Metallicow
efec3bcca5
Reduce flicker in svg demos
2020-10-19 03:32:58 -05:00
Robin Dunn
c5c28fd811
Add wx.Image.ConvertToRegion allowing to construct a region from an image without needing to make a bitmap first.
2020-10-14 18:17:54 -07:00
Robin Dunn
1842b2bc9a
Merge branch 'master' into webview-edge
2020-10-14 13:02:12 -07:00
Robin Dunn
cafa02a2f2
Remove old todo file
2020-10-13 15:57:02 -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
84b9af5c22
Add code to test which backends are available, and show which one was selected.
2020-10-13 14:17:34 -07:00
Robin Dunn
15b5f94e3b
minor demo tweaks
2020-10-13 13:22:31 -07:00
Metallicow
24877a11b1
Add wx.lib.checkbox GenericCheckBox Demo
2020-10-12 12:45:08 -07:00
Metallicow
6306a56540
Fix MessageDialog typo and apply Robins REQz
2020-10-09 09:58:45 -05: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
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