Revert "Use some black magic for 'tooltip' window show to avoid parent window (pyfa) losing focus (all blames goes to Entity)"

This reverts commit 2a262e447a.
This commit is contained in:
DarkPhoenix
2012-03-19 15:36:34 +04:00
parent 41cf39d43e
commit dec3a9ab62

View File

@@ -698,11 +698,10 @@ class PFToolTipWindow(wx.Frame):
ty += self.padding * 2
self.SetSize((tx,ty))
self.Disable()
self.SetTransparent(0)
self.Refresh()
def OnTimer(self, event):
self.transp += 20*self.direction
@@ -730,7 +729,6 @@ class PFToolTipWindow(wx.Frame):
def Show(self, showWnd = True):
if showWnd:
wx.Frame.Show(self, showWnd)
self.Enable()
# self.RaiseParent()
self.direction = 1
self.timer.Start(10)