On generalized mid-point convexity