summaryrefslogtreecommitdiff
path: root/iup/srclua5/pplot.lua
diff options
context:
space:
mode:
Diffstat (limited to 'iup/srclua5/pplot.lua')
-rwxr-xr-xiup/srclua5/pplot.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/iup/srclua5/pplot.lua b/iup/srclua5/pplot.lua
index 5d6a2f4..eb79876 100755
--- a/iup/srclua5/pplot.lua
+++ b/iup/srclua5/pplot.lua
@@ -3,7 +3,7 @@
------------------------------------------------------------------------------
local ctrl = {
nick = "pplot",
- parent = WIDGET,
+ parent = iup.WIDGET,
creation = "",
funcname = "PPlot",
callback = {
@@ -23,9 +23,9 @@ local ctrl = {
extrafuncs = 1,
}
-function ctrl.createElement(class, arg)
- return PPlot(arg.action)
+function ctrl.createElement(class, param)
+ return iup.PPlot(param.action)
end
-iupRegisterWidget(ctrl)
-iupSetClass(ctrl, "iup widget")
+iup.RegisterWidget(ctrl)
+iup.SetClass(ctrl, "iup widget")