Page 1 of 1

wxStatusBar updating statustext on listener

Posted: Thu May 25, 2006 8:11 am
by webmask
hi all,

how can i update a wxStatusBar statustext during an event listener? What im doing is i have a status box and i have a seperate class that listens to all the events on the socket. What i wana do is reflect the line connection state to the status box.

what do you think is the best way? derive my own class from the wxStatusBar?

thanks
webmask

Posted: Thu May 25, 2006 8:18 am
by Cursor
A simple way to modify status text from anywhere is to use wxLogStatus.
http://www.wxwidgets.org/manuals/2.6.3/ ... xlogstatus

Posted: Thu May 25, 2006 9:47 am
by webmask
Thanks cursor. it works now.. 8)