From 44a367b1234c5829a73984838d67d51d45a9ccea Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Sat, 16 Oct 2010 16:30:44 +0300 Subject: [PATCH] Added eve api hyperlink in character editor api tab --- gui/characterEditor.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gui/characterEditor.py b/gui/characterEditor.py index a9eff4a5e..87e82db7d 100644 --- a/gui/characterEditor.py +++ b/gui/characterEditor.py @@ -533,7 +533,12 @@ class APIView (wx.Panel): pmainSizer.Add(self.btnFetchSkills, 0, wx.ALL, 5) self.btnFetchSkills.Hide() self.btnFetchSkills.Bind(wx.EVT_BUTTON, self.fetchSkills) + self.stAPITip = wx.StaticText( self, wx.ID_ANY, u"Your API info is available at:", wx.DefaultPosition, wx.DefaultSize, 0 ) + self.stAPITip.Wrap( -1 ) + pmainSizer.Add( self.stAPITip, 0, wx.ALL, 5 ) + self.hlEveAPI = wx.HyperlinkCtrl( self, wx.ID_ANY, u"http://www.eveonline.com/api/default.asp", u"http://www.eveonline.com/api/default.asp", wx.DefaultPosition, wx.DefaultSize, wx.HL_DEFAULT_STYLE ) + pmainSizer.Add( self.hlEveAPI, 0, wx.ALL, 5 ) self.SetSizer(pmainSizer) self.Layout() self.charChanged(None)