Ensure the clipboard contents are stored properly on GTK. See https://github.com/wxWidgets/wxWidgets/pull/1953