This method was already provided by wxGTK and wxMSW, but not wxOSX nor any other ports. Provide a stub for it in wxWindowBase to allow user code to call it on all platforms, there is no harm in that even if it doesn't (and can't) do anything under macOS.