Changes for new GCC and wxWidgets 2.9.4

Fixed several uses of deprecated classes/functions and a few other things that caused compiler errors on my system using
gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
wxwidgets 2.9.4
boost 1.53.0