From 5bb05e6dc6e95fd12e13a57b78dc94833e46fd7a Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 28 Oct 2004 20:34:52 +0000 Subject: [PATCH] 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 --- wxPython/wxversion/wxversion.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxPython/wxversion/wxversion.py b/wxPython/wxversion/wxversion.py index ed26fc793a..b024966706 100644 --- a/wxPython/wxversion/wxversion.py +++ b/wxPython/wxversion/wxversion.py @@ -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() -- 2.45.2