I've got a thread class that inherits both wxThread and wxEvtHandler normaly, i don't have to do anything but declaring event table but it seems that that is not enough for the thread, it dies instantly so i guess the thread never enters the eventhandling loop how can i make it enter that loop? is there a function or anything that will make it enter the eventhanling loop?