It seems wrong to have this function in wxGraphicsContext only and not in wxGraphicsRenderer, as this makes it impossible to create a context associated with a non-default renderer while it doesn't cost us anything to allow doing this.
It seems wrong to have this function in wxGraphicsContext only and not in wxGraphicsRenderer, as this makes it impossible to create a context associated with a non-default renderer while it doesn't cost us anything to allow doing this.