Remove GetNativeView() when compiled with views toolkit.