wxWidgets versions > 2.8 want the program to call XInitThreads