Creating graphics context for the various flavors of wxDC can be simplified by using this newly introduced API.