Make link platform-specific

It didn't work on windows in current state
This commit is contained in:
DarkPhoenix
2013-08-31 20:19:49 +04:00
parent ac6ccd0ba1
commit 0d696881af

View File

@@ -245,7 +245,11 @@ class MainFrame(wx.Frame):
"\nwxPython: \t" + wx.__version__ +
"\nSQLAlchemy: \t" + sqlalchemy.__version__,
700, wx.ClientDC(self))
info.WebSite = ("http://forums.eveonline.com/default.aspx?g=posts&t=247609", "pyfa thread at EVE Online forum")
if "__WXGTK__" in wx.PlatformInfo:
forumUrl = "http://forums.eveonline.com/default.aspx?g=posts&t=247609"
else:
forumUrl = "http://forums.eveonline.com/default.aspx?g=posts&t=247609"
info.WebSite = (forumUrl, "pyfa thread at EVE Online forum")
wx.AboutBox(info)