Removed unnecessary files, removed or replaced images that we're not

sure of their origin or license.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-05-24 20:55:42 +00:00
parent ec6803d965
commit 6c75a4cf0f
163 changed files with 12487 additions and 14000 deletions

View File

@@ -168,9 +168,17 @@ class PythonSTC(stc.StyledTextCtrl):
# register some images for use in the AutoComplete box.
self.RegisterImage(1, images.getSmilesBitmap())
self.RegisterImage(2, images.getFile1Bitmap())
self.RegisterImage(3, images.getCopy2Bitmap())
self.RegisterImage(2, self._fix_image(
wx.ArtProvider.GetBitmap(wx.ART_NORMAL_FILE, wx.ART_TOOLBAR, (16,16))))
self.RegisterImage(3, self._fix_image(
wx.ArtProvider.GetBitmap(wx.ART_COPY, wx.ART_TOOLBAR, (16,16))))
def _fix_image(self, bmp):
img = bmp.ConvertToImage()
if img.HasAlpha():
img.ConvertAlphaToMask()
bmp = wx.BitmapFromImage(img)
return bmp
def OnKeyPressed(self, event):
if self.CallTipActive():