made windows build compile with wxWidgets 3.0.1 release.
fixed compile error.