[MacOSX] Fixing minor issue for wxPython