jean-michel bain-cornu wrote:
> When your button gives an event, wx send two arguments : the object
> itself and an event object. So you can't bind directly.
Ah, that explains it! Thank you!
--
http://mail.python.org/mailman/listinfo/python-list
John Salerno a écrit :
> import wx
> class InputForm(wx.Frame):
>
> def __init__(self, parent=None, id=wx.ID_ANY, title=''):
> wx.Frame.__init__(self, parent, id, title)
> panel = wx.Panel(self)
> btnModal = wx.Button(panel, -1, 'Modal')
> dialog = wx.Dialog(sel
I'm not exactly sure how to call the method ShowModal(). This is what I
have so far:
--
import wx
class InputForm(wx.Frame):
def __init__(self, parent=None, id=wx.ID_ANY, title=''):
wx.Frame.__init__(self, parent, id, title)
panel = wx.Panel(self)