]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/ide/activegrid/tool/PythonEditor.py
Include msvcr71.dll if appropriate
[wxWidgets.git] / wxPython / samples / ide / activegrid / tool / PythonEditor.py
index 06236d126c027a7ea4e6fe1318d5459d5b1fe86c..876f42b6bf1fad05fdfb1629f0ab1a47c0e0196a 100644 (file)
@@ -581,7 +581,6 @@ class PythonOptionsPanel(wx.Panel):
 # Icon Bitmaps - generated by encode_bitmaps.py
 #----------------------------------------------------------------------------
 from wx import ImageFromStream, BitmapFromImage
-from wx import EmptyIcon
 import cStringIO
 
 
@@ -609,6 +608,4 @@ def getPythonImage():
     return ImageFromStream(stream)
 
 def getPythonIcon():
-    icon = EmptyIcon()
-    icon.CopyFromBitmap(getPythonBitmap())
-    return icon
+    return wx.IconFromBitmap(getPythonBitmap())