Fixed ticket #194 , wx.DOUBLE_BORDER style applies only on wxMSW and wxMAC; using wx.SIMPLE_BORDER for wxMAC and wxGTK

This commit is contained in:
HomeWorld
2010-10-28 18:12:43 +03:00
parent fd63a83a87
commit 218701be47

View File

@@ -89,7 +89,7 @@ class ResistancesViewFull(StatsView):
bitmap.SetToolTip(tooltip)
sizerResistances.Add(bitmap, wx.GBPosition( row, col ), wx.GBSpan( 1, 1 ), wx.ALIGN_CENTER)
col+=1
self.stEHPs = wx.StaticText(contentPanel, wx.ID_ANY, "EHP", style = wx.DOUBLE_BORDER)
self.stEHPs = wx.StaticText(contentPanel, wx.ID_ANY, "EHP", style = wx.SIMPLE_BORDER if 'wxGTK' in wx.PlatformInfo else wx.DOUBLE_BORDER)
self.stEHPs.SetToolTip(wx.ToolTip("Click to toggle between effective HP and raw HP"))
self.stEHPs.Bind(wx.EVT_LEFT_UP, self.toggleEHP)