Commit Graph

28 Commits

Author SHA1 Message Date
Scott Talbert
f5a55e6bf3 Fix even more Python 3.10 issues with wx.lib classes 2021-12-30 15:47:07 -05: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
ricpol
5a5e821424 fixed CalenDlg to make it work with the other updates 2019-05-25 17:11:24 +02:00
ricpol
f74f4dde34 give up calendar to avoid possible import shadowing 2019-05-25 16:59:39 +02:00
ricpol
0ea38e43d8 smart date setting in SetDate 2019-05-25 16:12:38 +02:00
ricpol
e2023a1fbc setter APIs now actually set valid dates 2019-05-24 19:41:06 +02:00
ricpol
b7641ca656 fixed bug in key navigation when crossing DST boundary 2019-05-24 14:40:29 +02:00
ricpol
a9e2b1884f key navigation now sets date, emits event 2019-05-24 12:48:30 +02:00
ricpol
b8ff38317f fixed EVT_PAINT bug in cross-month key navigation 2019-05-23 18:11:53 +02:00
ricpol
d551696dde rely on datetime, calendar instead of CDate module 2019-05-23 12:57:03 +02:00
Metallicow
a8452dd575 Trim Whitespace lib directory 2016-10-12 22:21:38 -05:00
Robin Dunn
cc3190e240 Lots more docstring refs fixed 2016-07-06 20:20:10 -07:00
Robin Dunn
dd552ce670 Start updating some wx.lib docstrings 2016-06-09 21:46:05 -07:00
Werner F Bruhin
35151497ed - fix coding line 2014-06-12 09:50:36 +02:00
Andrea Gavana
b5ecf4045b Phoenix docs: fix calendar.py docstrings to avoid Sphinx warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-09 13:04:21 +00:00
Robin Dunn
a926955226 PR55: added documentation, PEP8 recommended changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-23 00:19:11 +00:00
Robin Dunn
3b8ddb9d54 PR 49 from Werner: I18N for calendar and CDate.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-14 03:09:03 +00:00
Robin Dunn
2fb6f00867 PR 42 from Metallicow. Py3 and Phoenix updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-11 23:13:15 +00:00
Robin Dunn
6faf213a76 Change all <> to !=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-01 04:23:33 +00:00
Robin Dunn
9f24505715 Merge of PR 11 with the whitespace-only changes omitted.
See https://github.com/RobinD42/Phoenix/pull/11

Mostly phoenix-port changes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-10 01:15:34 +00:00
Robin Dunn
48a7ecdd85 Remove all BeginDrawing/EndDrawing calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-13 07:43:45 +00:00
Robin Dunn
399d7dc377 calendar Phoenix Fixes & Deprecations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-13 07:16:01 +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
Robin Dunn
a30dfe91e2 I wasn't ready to add this yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-22 21:29:15 +00:00
Robin Dunn
c8c2e1d97b set svn:eol-style to native
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-22 21:02:42 +00:00