This function, using Carbon API, is not used any longer since the
changes of 5b6af7002c
, so remove it and
also remove the file where it was defined as there is nothing remaining
there any longer.
See https://github.com/wxWidgets/wxWidgets/pull/1561