Use "override" for wxGLApp::GetXVisualInfo(), but only for wxGTK2 where it really overrides it, unlike in wxX11. Closes #17995.