From 7baa004d4455a02826aee2aa460ea99030b294da Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 23 Apr 2010 14:27:10 +0000 Subject: Fixed: missed implementation for CD_DEBUG, CD_PICTURE and CD_DBUFFERRGB in Lua. --- html/examples/iup_dbuffer.wlua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'html/examples') diff --git a/html/examples/iup_dbuffer.wlua b/html/examples/iup_dbuffer.wlua index 3f33746..dffccfd 100644 --- a/html/examples/iup_dbuffer.wlua +++ b/html/examples/iup_dbuffer.wlua @@ -14,7 +14,8 @@ dlg = iup.dialog{box; title="Example IUPLUA/CDLUA"} function cnv:map_cb() local canvas = cd.CreateCanvas(cd.IUP, self) - local dbuffer = cdCreateCanvas(cd.DBUFFER, canvas); + local dbuffer = cd.CreateCanvas(cd.DBUFFERRGB, canvas); +-- local dbuffer = cd.CreateCanvas(cd.DBUFFER, canvas); self.canvas = canvas -- store the CD canvas in a IUP attribute self.dbuffer = dbuffer end -- cgit v1.2.3