Commit Graph

37 Commits

Author SHA1 Message Date
André Colomb
6883afe8ce Simplify two stage creation process.
Remove "pre" object magic and use the parent class constructor
instead.  Remove deprecated PostCreate() call.  See
https://docs.wxpython.org/MigrationGuide.html#phase-create.

Load the XmlResource contents directly onto self.  See
https://docs.wxpython.org/MigrationGuide.html#xrc.
2018-02-02 17:37:01 +01:00
André Colomb
e17a8a907a Avoid deprecated class EmptyXmlResource.
According to the deprecation warning in wxPython Phoenix.
2018-02-02 17:29:07 +01:00
Robin Dunn
f3cbf76296 Fix more relative imports 2017-12-29 13:56:05 -08:00
Steve Barnes
22f21b369e Make trusted flag available as an option for wxget.py and fix some minor issues. 2017-09-22 12:06:38 +01:00
Steve Barnes
82a5a09b3d Add --no-check-certificate to wx/tools/wxget.py download_wget if trusted 2017-09-22 09:03:40 +01:00
Steve Barnes
69dce9e9a6 Split the URL into the link and filename parts for the error message. 2017-09-22 06:04:39 +01:00
Steve Barnes
1febcd10c3 #545 Fallback download process, wget, urllib, pip --trusted-host, to maximise possilities of success. 2017-09-21 16:16:45 +01:00
Steve Barnes
dd7bdde296 #545 Addressed import error and added --force flag 2017-09-21 09:10:22 +01:00
Robin Dunn
60dbde834b '&' --> 'and' and some other text tweaks 2017-08-08 19:44:26 -07:00
Steve Barnes
2eea0a5634 Catch URLError from firewall and give practical advice 2017-08-08 11:45:59 +01:00
Steve Barnes
404ac70b1b Minor message changes in wx/tools/wxget_docs_demo.py 2017-08-08 11:45:05 +01:00
Steve Barnes
b01de8654e Responded to inline review comments and added propmt before download 2017-08-08 06:59:04 +01:00
Steve Barnes
97de5b0f92 Added wx/tools/wxget_docs_demo.py with script entry points of wxdemo and wxdocs 2017-08-07 06:26:53 +01:00
Steve Barnes
1795b5e7c7 Added get_docs_demo_url to get the documents or demo URL. 2017-08-06 13:07:57 +01:00
Steve Barnes
125e368e1a New utility wxget to provide get where missing. 2017-08-06 12:55:39 +01:00
Mike Driscoll
435d779e8b Update img2py.py
Fix a couple of typos
2017-05-02 09:11:04 -05:00
Andrew Murray
2cfe4ad989 Fixed typos 2017-02-26 14:15:49 +11:00
Robin Dunn
a0604d128c Update copyright in wx/tools 2017-02-13 17:07:39 -08:00
Metallicow
576cf1d966 Trim Whitespace tools directory 2016-10-12 22:15:25 -05:00
david-hughes
bfcc50ce53 Update helpviewer.py
Trivial changes to comments
2016-07-08 16:26:19 +01: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
ea4b9b8fc5 updates for fullnames in the docstrings 2016-06-07 16:44:52 -07:00
Robin Dunn
76cf83468a Merge branch 'patch-1' of https://github.com/MichaelHipp/Phoenix into MichaelHipp-patch-1
Conflicts:
	wx/tools/img2img.py
2015-02-10 20:20:57 -08:00
Werner F Bruhin
c3d027aecb - use wx.Bitmap directly for icons
- ImageFromBitmap is deprecated, however can't test as I can't make the first SaveFile fail
2014-07-18 12:42:18 +02:00
Michael Hipp
f14ed529f3 Update img2img.py
Get rid of obsolete call to wx.BitmapFromIcon when converting '.ico' file  ( per http://wxpython.org/Phoenix/docs/html/classic_vs_phoenix.html )
2014-03-29 12:17:43 -05: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
37b08e317d Fix import for Py3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-25 08:27:58 +00:00
Robin Dunn
9d5238fa33 Fix print statements that use the file= arg to use the print_ function from wx.lib.six instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-14 03:09:25 +00:00
Robin Dunn
24bf92a45d More wx.PySimpleApp —> wx.App migrations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-14 02:34:31 +00:00
Robin Dunn
7d3e2b7c2e PR 40 from Metallicow. Py3 and Phoenix updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-11 23:12:43 +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
b4bb3dd746 Fix print statement errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-12-31 07:47:53 +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
c478ccdbfa Py3 port for helpviewer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-23 02:35:29 +00:00
Robin Dunn
9760539742 Add declarations of the pure virtuals for the file-system handler classes so they can be instantiated, and some unittests.
Update wx.tools.helpviewer

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-22 06:20:36 +00:00
Robin Dunn
087ebf6655 Patch from Ramin Sabet to update image tools modules for Phoenix and Py3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-16 03:24:46 +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