def _scale(self, image):

        if image.GetWidth() != self._width or image.GetHeight()!= self._height:
            image.Rescale(self._width, self._height)

        return image

#### EOF ######################################################################
Scales the specified image (if necessary).
dataset/ETHPy150Open enthought/pyface/pyface/wx/image_list.py/ImageList._scale