Hi, Mahmoud,
Accessing GUI from secondary thread is not supported.
You best choice is to post event from the thread to the main GUI thread and process the event.
Thank you.
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+u...@googlegroups.com
or visit http://groups.google.com/group/wx-users