50 Commits

Author SHA1 Message Date
neofelis2X
6f2ca2b5e5 Docs: fix various minor sphinx parsing issues 2025-02-24 23:03:37 +01:00
Alexandre Detiste
0257f755cf remove most of Python2 compatibility code 2025-02-02 20:17:45 -05:00
Scott Talbert
2871c46d33 Fix a bunch of DeprecationWarnings due to invalid escape sequences
Fixes #1454.
2022-01-11 11:23:06 -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
Scott Talbert
d050934321 Fix SyntaxWarning in wx.lib.masked.maskededit 2019-11-22 10:41:58 -05:00
topic2k
533113d07e Use default position for PopupMenu in wx.lib.masked.maskededit.MaskedEditMixin 2019-10-23 09:44:28 +02:00
Robin Dunn
5c09e4eec5 Also import the individual controlTypes constants as documented 2019-10-22 15:12:35 -07: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
tizytissy
885cd7f2b9 Merge branch 'master' into patch-1 2018-06-01 11:32:44 +02:00
Robin Dunn
0a0c170450 Merge pull request #869 from RobinD42/fix-issue808
Override SetForegroundColour and SetBackgroundColour in MaskedEditMixin
(cherry picked from commit 4b1ecf2c25)
2018-05-30 21:08:13 -07:00
tizytissy
a00017f1c7 use floordiv instead of truediv to get _groupSpace
Actual code use truediv ('/') to calculate _groupSpace, but in python 3.x this leads to a float result, instead of an integer as one would expect.
Using floordiv ('//') instead, resolve the problem.
2018-05-28 09:25:58 +02:00
Mesalu
fe512207d2 Add note of change 2018-02-04 18:45:15 -08:00
jensgoe
3da57cd2d1 wx.Validator_IsSilent() --> wx.Validator.IsSilent() 2018-02-04 18:43:50 -08:00
Andrew Murray
2cfe4ad989 Fixed typos 2017-02-26 14:15:49 +11:00
Metallicow
fff39a2a67 Trim Whitespace masked directory 2016-10-12 22:39:44 -05:00
Robin Dunn
cc3190e240 Lots more docstring refs fixed 2016-07-06 20:20:10 -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
Valentin Lavrinenko
b00617cd7b fix some minor issues to allow MaskedEditControls run, including running from demo dir 2016-06-20 01:35:32 +03:00
Werner F Bruhin
e36c213dd5 - fix deprecation warning for m_shiftDown 2015-02-27 10:47:51 +01:00
Werner F Bruhin
a24a07de0e - grouping default should be 'False' as per documentation and to enable small int of e.g. size 3 2014-07-10 09:47:18 +02:00
Robin Dunn
90ee034d74 PR #76: a few wx.lib things for Py33
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-19 21:26:03 +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
Andrea Gavana
cbbbda346e Phoenix docs: fix masked\textctrl.py docstrings to avoid Sphinx warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-09 13:21:05 +00:00
Robin Dunn
571668a23f Remove the old CVS $Id: tags.
They don't work in git, and don't work by default in SVN either.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-09 02:39:35 +00:00
Robin Dunn
bbeef1173c Fix wxPython.lib —> wx.lib in file header comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-14 05:55:14 +00:00
Robin Dunn
67aaf6547e PR 35 from Metallicow. Py3 and Phoenix updates for maskededit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-11 21:40:11 +00:00
Robin Dunn
fbda4deb28 Fix some "wxPython" package names --> "wx" in comments, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-10 05:39:16 +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
f00fa32e46 Merged some additional changes from PR #17
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-05 20:54:55 +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
f5abd0ee7e timectrl and maskededit Phoenix Fixes
timectrl and maskededit Phoenix Fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-13 07:20:55 +00:00
Robin Dunn
01d0da517b Patch to fix several Py3 issues with wx.lib.masked.
- string manipulation (string.* methods)
- type instance checking (types.StringType)
- unicode vs str comparisions
- string decoding not needed in py3k
- static methods: Validator_IsSilent()
- remove has_key and fixed + with list(dict.keys())

Closes #15163

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-26 06:40:43 +00:00
Robin Dunn
e5a5e579f6 a couple more Phoenix changes for wx.lib.masked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-20 21:17:17 +00:00
Robin Dunn
495d42fe27 Patch for wx.lib.masked from Werner.
- added progress tags
- changed wx calls which are no longer valid in Phoenix
- changed public method documentation to Sphinx/Phoenix format
- created tests

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-17 02:52:09 +00:00
Robin Dunn
3ae0aa4f12 MaskedComboBox patch from Bill Tutt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-16 04:01:42 +00:00
Robin Dunn
851819da57 MaskedEditCtrl patch from Bill Tutt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-16 04:01:33 +00:00
Robin Dunn
5302d40852 Patch from Ramin Sabet to update masked modules for Phoenix and Py3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-16 03:24:37 +00:00
Robin Dunn
53d0c8de00 default for useFixedWidthFont is now False for NumCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-03 05:40:54 +00:00
Robin Dunn
628ea65c47 Patch from Werner for better widget size calculations for small masks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 20:43:17 +00:00
Andrea Gavana
5c33e560c8 AGW on Phoenix: more fixes and porting to Phoenix; added unittest for aquabutton.py, flatnotebook.py, gradientbutton.py and infobar.py; minor modifications to wx.lib.masked.maskededit.py and wx.lib.colourutils.py.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-28 22:08:07 +00:00
Robin Dunn
c1fcdf277d WXK_PRIOR --> WXK_PAGEUP, WXK_NEXT --> WXK_PAGEDOWN, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:01:03 +00:00
Robin Dunn
90bdb0339c More combobox fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-27 01:24:03 +00:00
Robin Dunn
850ef9684f Some fixes for read-only combobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-27 01:21:22 +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