Mercurial > projects > dwt-addons
diff dwtx/novocode/CustomSeparator.d @ 191:1ef729510ed6
Fix compile error
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 28 Oct 2008 23:59:57 +0100 |
parents | df4e66472aff |
children |
line wrap: on
line diff
--- a/dwtx/novocode/CustomSeparator.d Sun Oct 26 15:04:41 2008 +0100 +++ b/dwtx/novocode/CustomSeparator.d Tue Oct 28 23:59:57 2008 +0100 @@ -16,8 +16,8 @@ module dwtx.novocode.CustomSeparator; import dwt.DWT; -/**import dwt.events.PaintEvent;**/ -/**import dwt.events.PaintListener;**/ +//import dwt.events.PaintEvent; +//import dwt.events.PaintListener; import dwt.graphics.Color; import dwt.graphics.Point; import dwt.graphics.Rectangle; @@ -97,7 +97,7 @@ } - private void onPaint(PaintEvent event) + private void onPaint(Event event) { Rectangle r = getClientArea(); if(r.width is 0 || r.height is 0) return;