diff options
Diffstat (limited to 'iup/srclua5/fontdlg.lua')
-rwxr-xr-x | iup/srclua5/fontdlg.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/iup/srclua5/fontdlg.lua b/iup/srclua5/fontdlg.lua index 2c88d26..45bc02f 100755 --- a/iup/srclua5/fontdlg.lua +++ b/iup/srclua5/fontdlg.lua @@ -3,24 +3,24 @@ ------------------------------------------------------------------------------ local ctrl = { nick = "fontdlg", - parent = WIDGET, + parent = iup.WIDGET, creation = "", funcname = "FontDlg", callback = {} } function ctrl.popup(handle, x, y) - Popup(handle,x,y) + iup.Popup(handle,x,y) end function ctrl.destroy(handle) - return Destroy(handle) + return iup.Destroy(handle) end -function ctrl.createElement(class, arg) - return FontDlg() +function ctrl.createElement(class, param) + return iup.FontDlg() end -iupRegisterWidget(ctrl) -iupSetClass(ctrl, "iup widget") +iup.RegisterWidget(ctrl) +iup.SetClass(ctrl, "iup widget") |