Apply the same change as was done for wxGTK in the previous commit to wxMSW too, for the same reasons.