make compiler happier on WXMAC