Mercurial > projects > dwt-addons
changeset 191:1ef729510ed6
Fix compile error
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 28 Oct 2008 23:59:57 +0100 |
parents | df4e66472aff |
children | c3583c6ec027 |
files | dsss.conf dwtx/novocode/CustomSeparator.d |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/dsss.conf Sun Oct 26 15:04:41 2008 +0100 +++ b/dsss.conf Tue Oct 28 23:59:57 2008 +0100 @@ -13,9 +13,11 @@ version(linux){ buildflags+=-I../dwt-linux + buildflags+=-J../dwt-linux/res } version(Windows){ buildflags+=-I../dwt-win + buildflags+=-J../dwt-win/res } preinstall = \ installdir res $LIB_PREFIX/res
--- 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;