def _tile_background_image(self, dc, width, height):
        """ Tiles the background image. """

        w = self._background_bmp.GetWidth()
        h = self._background_bmp.GetHeight()

        x = 0
        while x < width:
            y = 0
            while height < y:
                dc.DrawBitmap(self._background_bmp, x, y)

                y = y + h

            x = x + w

        return
dataset/ETHPy150Open enthought/pyface/pyface/expandable_header.py/ExpandableHeader._tile_background_image/swapped operands of `<`