--- a/editors/ConfTreeNodeEditor.py Fri Jul 26 14:04:29 2013 +0900
+++ b/editors/ConfTreeNodeEditor.py Fri Aug 02 08:55:45 2013 +0900
@@ -3,7 +3,6 @@
import types
import wx
-import wx.lib.buttons
from EditorPanel import EditorPanel
@@ -35,22 +34,6 @@
def Bpath(*args):
return os.path.join(CWD,*args)
-# Patch wx.lib.imageutils so that gray is supported on alpha images
-import wx.lib.imageutils
-from wx.lib.imageutils import grayOut as old_grayOut
-def grayOut(anImage):
- if anImage.HasAlpha():
- AlphaData = anImage.GetAlphaData()
- else :
- AlphaData = None
-
- old_grayOut(anImage)
-
- if AlphaData is not None:
- anImage.SetAlphaData(AlphaData)
-
-wx.lib.imageutils.grayOut = grayOut
-
class GenBitmapTextButton(wx.lib.buttons.GenBitmapTextButton):
def _GetLabelSize(self):
""" used internally """