Use modern wxFont constants
Fixes deprecation warning with wxWidgets 3.1.0, but should still work with 2.8.x if anyone is really still using that.