VT_CLOSE event concerns wx.Frame class only. Neither Close() nor
> Destroy() aren't executed if the event occurs (if user close a panel). Thus
> extanding these both methods doesn't make sens (I've tested that).
>
> With many thanks &
> Best wishes,
> Jacek
Cheers
l is repainted correctly (that's
> why I inserted the self.SendSizeEvent() line - commented above).
>
> Is there something I'm missing, or this is normal ?
>
> I'm using python 2.4.3 and wxpython 2.8.1.1 unicode, on WinXP SP2.
> Windows extensions a
; case it creates a folder with the same name (including the .egg extension)
> in site-packages and unzips the egg there.
Thanx a lot! "sudo python setup.py easy_install --always-unzip ." did the
trick
Kind regards
Morpheus
>
> Forcing an unzip can be useful if you want to us
st - sorry, Linux newbie).
So, what am I supposed to do here now?
Kind regards
Morpheus
--
http://mail.python.org/mailman/listinfo/python-list
ot;
>
> how can I fix this??
>
> FYI, my script is being started by a new thread each time, so
> ultimately we have
>
> def startProgram():
> foo = MyProgram()
>
> threading.Thread(target=startProgram).start()
>
>
> Thanks in advance.
You must not access wx from more than one thread. Read their wiki about
this and about the appropriate workaround.
Morpheus
--
http://mail.python.org/mailman/listinfo/python-list
IIRC the wx dox contain stuff about sizers too. It's definitly worth to get
into this stuff. Once you are used to sizers, you don't want to miss them
anymore.
HTH
Morpheus
"John Salerno" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Steve Holden wr
elf, parent, id, title, pos, size, style,
name)
> panel = wx.Panel(self)
> text = wx.StaticText(panel, -1, 'Click results')
This becomes a local var, i.e. local to __init__. To make it an instance var
write
self.text = wx.StaticText(panel, -1, 'Click results')
HTH
That's a separate download.
Morpheus
"John Salerno" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I just realized that after installing wxPython, it did not add the usual
> menu item to my Start menu (Windows), where I can access the docs and
>