code: function(event, args) {
  		
  		WireIt.CanvasContainer.superclass.onResize.call(this, event, args);
  		
        var size = args[0];
  		
  		// resize the canvas
  		// TODO: do not hardcode those sizes !!
  		this.canvasWidth = (size[0]-14);
  		this.canvasHeight = (size[1]-( this.ddHandle ? 44 : 14) );
  		this.canvasEl.SetCanvasRegion(0,0, this.canvasWidth, this.canvasHeight );
  		
  		this.drawCanvas();
     }
docs: On resize, resize the canvas element and redraw it