Hi,

Ryan Pusztai yazmış:
> I can't seem to set the icon for the frame in wxLua. I really want to do 
> this when it is frozen with wxluafreeze. But I can't seem to get the 
> SetIcon() to work at all. A small example would be great. Thanks
> -- 
> Regards,
> Ryan
> RJP Computing
> 
> 

(I don't know whether it is different for wxluafreeze but,)

I'm using like:

     local bitmap = GetImage("dsbw")
     local icon = wx.wxDefaultIcon()
     icon:CopyFromBitmap(bitmap)
     app.frame:SetIcon(icon)
     bitmap:Delete()
     icon:Delete()

Taken from wxLua's samples


--
Regards,
Hakki Dogusan





-------------------------------------------------------------------------
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