summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
Diffstat (limited to 'html')
-rw-r--r--html/examples/iuplua_cdlua.wlua6
1 files changed, 3 insertions, 3 deletions
diff --git a/html/examples/iuplua_cdlua.wlua b/html/examples/iuplua_cdlua.wlua
index d9c5058..c62f4c0 100644
--- a/html/examples/iuplua_cdlua.wlua
+++ b/html/examples/iuplua_cdlua.wlua
@@ -1,7 +1,7 @@
require"cdlua"
require"iuplua"
require"iupluacd"
-require"cdluacontextplus"
+--require"cdluacontextplus"
cnv = iup.canvas {size = "200x100"}
@@ -14,9 +14,9 @@ box = iup.vbox{
dlg = iup.dialog{box; title="Example IUPLUA/CDLUA"}
function cnv:map_cb()
- cd.UseContextPlus(true)
+ --cd.UseContextPlus(true)
canvas = cd.CreateCanvas(cd.IUP, self)
- cd.UseContextPlus(false)
+ --cd.UseContextPlus(false)
self.canvas = canvas -- store the CD canvas in a IUP attribute
end