Anders F Björklund ha scritto:
>>>> Currently you cannot open .wx.lua files from the Finder...
>>> well, this is not indispensable...
>> It's not that hard to add for the next release, we need an
>> entry for .lua (or perhaps .wx.lua) in the Info.plist file
> 
> Doc type "wx.lua" doesn't work, so it needs to be "lua"...
> (no mime types or anything, it only does the file suffix)
that's not a problem: wxLua can be used also for standalone lua apps so 
that it's useful also as IDE for pure lua scripts.


>> (probably also need a matching document icon to go with it),
> 
> Made an icon at http://www.algonet.se/~afb/wx/wxLuaFile.icns
> (it looks like http://www.algonet.se/~afb/wx/wxLuaFile.png)
added it to distrib/macbundle, thanks!


>> and we need to implement the MacOpenFile method in wxApp:
>>
>>      // in response of an open-document apple event
>>      virtual void         MacOpenFile(const wxString &fileName) ;
> 
> Did a quick copy/paste implementation of this, but it wasn't
> perfect: it opened up the first empty window anyway on launch,
> and then did the requested script afterwards (on top of that).
> What was worse was that if you close them in the wrong order,
> the application doesn't quit - but has to be force-quitted...
> So it probably needs some more thought-through implementation :-)
sure, there's no hurry ;)

Francesco



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to