]> git.saurik.com Git - wxWidgets.git/commitdiff
I think that going to the home page woudl be more user friendly than
authorRobin Dunn <robin@alldunn.com>
Thu, 28 Oct 2004 20:34:52 +0000 (20:34 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 28 Oct 2004 20:34:52 +0000 (20:34 +0000)
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

index ed26fc793ab415211c364accb38cdec19349f0fd..b024966706d244e548399de6d548cf1faae1a822 100644 (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()