Ver Mensaje Individual
  #2 (permalink)  
Antiguo 31/10/2008, 18:09
iozk
 
Fecha de Ingreso: mayo-2008
Mensajes: 499
Antigüedad: 16 años
Puntos: 1
Respuesta: ponerle icono a mi aplicacion

Ya se como he estado investigando y ya me salio!

le puse asi:
Código python:
Ver original
  1. self.properties() #aqui
  2.         self.dirname = ''
  3.         self.statusbar = self.CreateStatusBar()
  4.         self.Centre()
  5.         self.Show(True)
  6.  
  7. def properties(self):
  8.         self.SetTitle("frame_1")
  9.         _icon = wx.EmptyIcon()
  10.         _icon.CopyFromBitmap(wx.Bitmap("C:\\Lamp\\icon.PNG", wx.BITMAP_TYPE_ANY))
  11.         self.SetIcon(_icon)

para los que no sabian