I think that going to the home page woudl be more user friendly than

to the SF download page, but make it a module attr so the app can
change it if it's really needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-10-28 20:34:52 +00:00
parent 7dc107d60c
commit 5bb05e6dc6

View File

@@ -124,6 +124,9 @@ def select(versions):
#----------------------------------------------------------------------
UPDATE_URL = "http://wxPython.org/"
#UPDATE_URL = "http://sourceforge.net/project/showfiles.php?group_id=10718"
def ensureMinimal(minVersion):
"""
@@ -168,7 +171,7 @@ def ensureMinimal(minVersion):
% (minVersion, versions),
"wxPython Upgrade Needed", style=wx.YES_NO)
if result == wx.YES:
webbrowser.open("http://sourceforge.net/project/showfiles.php?group_id=10718")
webbrowser.open(UPDATE_URL)
app.MainLoop()
sys.exit()