Commit Graph

21 Commits

Author SHA1 Message Date
Alexandre Detiste
0257f755cf remove most of Python2 compatibility code 2025-02-02 20:17:45 -05:00
Kazuya O'moto
1563d3e1f0 Don't watch DropTarget
Windows bug fix
    https://github.com/wxWidgets/Phoenix/issues/2043
2023-03-06 22:07:12 +09:00
Christian Clauss
25ba122168 Fix typos discovered by codespell 2021-08-07 18:55:49 +02:00
Robin Dunn
732ff6752b Revert "Spelling fixes in wx.lib"
This reverts commit c00b8950da.
The spelling changes were a bit too aggressive.
2020-08-31 13:01:31 -07:00
Robin Dunn
c00b8950da Spelling fixes in wx.lib 2020-07-14 12:53:31 -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
Robin Dunn
4d00ac9b93 Wait a little longer before splitting 2017-07-21 13:20:27 -07:00
Metallicow
6e0ec5421f Trim Whitespace py directory 2016-10-12 22:12:43 -05:00
Robin Dunn
af19f6c4cb Explicitly disconnect dispatcher receivers when windows are no longer valid.
The weak reference cleanup sometimes seems to not happen immediately...
2016-09-02 22:15:16 -07:00
Robin Dunn
5db387e560 Ensure the filling window has been split 2016-09-02 10:53:28 -07:00
Robin Dunn
ed4756b902 Remove wx.lib.six and use the stock six module instead,
and add it as an installation dependency.
2016-06-30 20:07:57 -07:00
Robin Dunn
801682c786 Some Py3 fixes for PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-02 07:48:20 +00:00
Robin Dunn
bcbdcd9631 Remove more CVS $Id$ and $Revision$ tags, and a bit of code that uses them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-11 03:35:32 +00:00
Robin Dunn
2e30a88173 Some Py3 and various other fixes from wxGuru.
Merged and squashed from https://github.com/RobinD42/Phoenix/pull/15,
with additional edits.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-05 20:54:22 +00:00
Robin Dunn
32c1e977c6 fix earlier patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-06 01:58:45 +00:00
Robin Dunn
baca577355 fix earlier patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-05 04:36:35 +00:00
Robin Dunn
68ea7237ce Py3 and Phoenix fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-04 16:10:17 +00:00
Robin Dunn
690685edcf Some Py3 fixes for wx.py.filling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-01 20:19:42 +00:00
Robin Dunn
ede298e62e Modified patch from Maxim Kolosov for Py3 fixes in wx.py
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 02:00:13 +00:00
Robin Dunn
c5bcdfe844 Various changes for PyCrust and other py classes to get them working with Phoenix and also avoid deprecation warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-27 03:16:59 +00:00
Robin Dunn
247673201b Copy (branch) wx.lib, wx.py and wx.tools from Classic, and include subpackages branched from 3rdParty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-13 01:36:07 +00:00