Michele Sandri <[EMAIL PROTECTED]> writes: > > I have urgent need of wxFileDropTarget support under win32 in wxlua, > if someone can give some hints about which are blocking points, i will > try to help in implementing the remaining parts. > frame:Connect(wx.wxEVT_DROP_FILES, function(event) local files = event:GetFiles(); for _, fileName in ipairs(files) do loadFilePattern(fileName) end end)
This may help. Similar code as in main for _, argn in ipairs(arg) do if argn == '--' then break end loadFilePattern(argn) end Andre ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users