summaryrefslogtreecommitdiff
path: root/html/examples/iuplua_cdlua.wlua
diff options
context:
space:
mode:
authorscuri <scuri>2010-10-15 02:43:23 +0000
committerscuri <scuri>2010-10-15 02:43:23 +0000
commit1129345787a6317b5eafeabe92fe52050187682e (patch)
tree342ea79b9fbe8f18e288220a90cd08769e885915 /html/examples/iuplua_cdlua.wlua
parent4658f8fe86dbf499b1e43db455c5172007b93d14 (diff)
*** empty log message ***
Diffstat (limited to 'html/examples/iuplua_cdlua.wlua')
-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