Fixed Linux build erros on wxWidgets 2.8.12