Workaround for issue #10: Single-shot timer does not work in wxAgg.