Update to support using wxClientDC if wxUSE_GRAPHICS_CONTEXT is not defined.