More ugly stuff

This commit is contained in:
HomeWorld
2010-11-17 22:38:31 +02:00
parent 884282a8b1
commit 6fc71d7a96

View File

@@ -936,7 +936,7 @@ class PFTabsContainer(wx.Panel):
posx, posy = tab.GetPosition()
if not tab.IsSelected():
if not 'wxMac' in wx.PlatformInfo:
mdc.DrawBitmap(self.efxBmp, posx, posy - 1, True )
mdc.DrawBitmap(self.efxBmp, posx, posy, True )
img = tab.Render().ConvertToImage()
img = img.AdjustChannels(1, 1, 1, 0.8)
bmp = wx.BitmapFromImage(img)
@@ -946,7 +946,7 @@ class PFTabsContainer(wx.Panel):
if selected:
posx, posy = selected.GetPosition()
if not 'wxMac' in wx.PlatformInfo:
mdc.DrawBitmap(self.efxBmp, posx, posy - 1, True)
mdc.DrawBitmap(self.efxBmp, posx, posy, True)
bmp = selected.Render()
if self.dragging:
img = bmp.ConvertToImage()