Revert "Fix attempt for wxgtk overzealousness"

This reverts commit e5fc402565.
This commit is contained in:
HomeWorld
2010-10-27 16:28:09 +03:00
parent e5fc402565
commit ce3ae7ecb9

View File

@@ -556,12 +556,8 @@ class CategoryItem(wx.Window):
wx.PostEvent(self.shipBrowser,Stage2Selected(categoryID=categoryID))
def enterW(self,event):
mposx,mposy = self.Parent.ScreenToClient(wx.GetMousePosition())
iposx,iposy = self.GetPosition()
iwidth, iheight = self.GetSize()
if mposy >= iposy and mposy<iposy+iheight:
self.highlighted = 1
self.Refresh()
self.highlighted = 1
self.Refresh()
event.Skip()
def leaveW(self,event):