# File widget.rb, line 290
  def del
    onDelete
    if $window.nil?
      raise "Window assigned to nil" #Very strange bug. Should be dead by now. (This is just in case.)
      return
    end
    $window.deleteWidget(self)
    super
  end