From 755d86ff3db795dc16221186b4c206ae1f5374aa Mon Sep 17 00:00:00 2001 From: xland <412588801@qq.com> Date: Sun, 30 Aug 2015 08:30:22 +0800 Subject: [PATCH] Add link button for IUP wrapper Add link button for IUP wrapper --- lib/wrappers/iup.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/wrappers/iup.nim b/lib/wrappers/iup.nim index cbd9b5ae99..d910173cad 100644 --- a/lib/wrappers/iup.nim +++ b/lib/wrappers/iup.nim @@ -307,6 +307,8 @@ proc menuv*(children: ptr PIhandle): PIhandle {. proc button*(title, action: cstring): PIhandle {. importc: "IupButton", cdecl, dynlib: dllname.} +proc link*(url, title: cstring): PIhandle {. + importc: "IupLink", cdecl, dynlib: dllname.} proc canvas*(action: cstring): PIhandle {. importc: "IupCanvas", cdecl, dynlib: dllname.} proc dialog*(child: PIhandle): PIhandle {.