Remove the duplicated version of the code in wxOSX sources which wasn't updated in the parent commit.