Remove the debug printing event handlers, as wxWidget's implementation fails
compilation under GCC due to the lambda's deleted default constructor.