# File FXTable.rb, line 118
    def draw(table, dc, x, y, w, h)
      if button?
        drawButton(table, dc, x, y, w, h)
        drawContent(table, dc, x, y, w, h)
      else
        drawBackground(table, dc, x, y, w, h)
        drawPattern(table, dc, x, y, w, h)
        drawContent(table, dc, x, y, w, h)
        drawBorders(table, dc, x, y, w, h)
      end
    end