New macro for disable openGL based widgets