On 1/22/07, Hakki Dogusan <[EMAIL PROTECTED]> wrote:

Hi,

(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


This was close, but I still can't get the frame icon to change. I can use
the bitmap created by the code above in a wxBitmapButton, but nothing
happens to the frame icon. I also tried to wxLua smaples that set the frames
icon and they didn't work either. The samples are wxluasudoku.wx.lua and
calculator.wx.lua.
--
Regards,
Ryan
RJP Computing
-------------------------------------------------------------------------
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