diff -r d40f49d45614 -r 9901dbb25f18 GUI/Gadget.cs --- a/GUI/Gadget.cs Tue Sep 07 18:51:42 2010 +0000 +++ b/GUI/Gadget.cs Tue Sep 07 22:15:02 2010 +0000 @@ -54,9 +54,8 @@ CreateBuffer(); } - public void Dispose() { - this.graphics.Dispose(); - this.buffer.Dispose(); + public virtual void Dispose() { + DisposeBuffer(); } public Point Location {