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
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
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
705aa63d75
Merge branch 'more-windowidref' into wxPy-4.0.x
...
(cherry picked from commit ada7b2fc51
)
2018-06-25 19:12:00 -07:00
Robin Dunn
b1b0c9e297
wx.NewId() --> wx.ID_ANY or wx.Window.NewControlId() as appropriate
2018-06-19 10:31:56 -07:00
Robin Dunn
a9595b241a
PR64: Various Phoenix and Py3 fixes for the demo and library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-28 04:48:21 +00:00
Robin Dunn
558fcfa5a3
PR61: Added python shebangs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-23 00:44:14 +00:00
Robin Dunn
815588bcb8
GlCanvas Cleanup - This works fine.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-05 22:33:03 +00:00
Robin Dunn
f039f7c367
Initial port of wxPython demo from Classic to Phoenix.
...
Pulled and squashed from https://github.com/RobinD42/Phoenix/pull/7
Thanks Metallicow!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-13 06:06:29 +00:00
Robin Dunn
f96e25db1f
Copy the wxPython demo from Classic
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-11 18:24:09 +00:00