wxPython Segmentation fault

FERNANDO VILLARROEL fvillarroel en yahoo.com
Mie Mar 9 03:29:25 CET 2005


Hola, por que razon cuando invoco un dialogo wxPython
con el metodo ShowModal() me tira la siguiente
excepcion:

Type "help", "copyright", "credits" or "license" for
more information.
>>> from MnuGir import MnuGir
>>> a=MnuGir(None,-1,"")
>>> val=a.ShowModal()
Segmentation fault

que ademas me bota de Python.

Aca va el dialogo en cuestion o su declaracion:

class MnuGir(wx.Dialog):
    def __init__(self, *args, **kwds):
        self.giro=""

        # begin wxGlade: MnuGir.__init__
        kwds["style"] =
wx.DIALOG_MODAL|wx.CAPTION|wx.RESIZE_BORDER|wx.THICK_FRAME
        wx.Dialog.__init__(self, *args, **kwds)
        self.label_47 = wx.StaticText(self, -1,
"Ingrese Giro")
        self.text_ctrl_35 = wx.TextCtrl(self, -1, "",
style=wx.TE_PROCESS_ENTER|wx.TE_PROCESS_TAB)
        self.button_13 = wx.Button(self, -1,
"Aceptar")
        self.button_14 = wx.Button(self, -1,
"Cancelar")


Lo necesito asi (Modal) ya que el usuario no debe
seguir ejecutando otras cosas hasta que salga de este
formulario.

Fernando Villarroel


	
		
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/
------------ próxima parte ------------
_______________________________________________
Python-es mailing list
Python-es en aditel.org
http://listas.aditel.org/listinfo/python-es


Más información sobre la lista de distribución Python-es