Fix some deprecated stuff

This commit is contained in:
Ryan Holmes
2017-06-12 21:31:37 -04:00
parent 7e86cb0f84
commit 1cbd8ee901
16 changed files with 43 additions and 43 deletions

View File

@@ -84,6 +84,6 @@ def GetPartialText(dc, text , maxWidth, defEllipsis="..."):
def CreateDropShadowBitmap(bitmap, opacity):
img = wx.ImageFromBitmap(bitmap)
img = bitmap.ConvertToImage()
img = img.AdjustChannels(0, 0, 0, opacity)
return wx.BitmapFromImage(img)
return wx.Bitmap(img)