fix wxWidget systanx error