Menu

#13 wxBITMAP_TYPE_ICON_RESOURCE

closed
5
2014-04-21
2014-04-20
No

I try to add an icon to an wxFrame, like this:
>icon= wx.wxIcon()
>icon.LoadFile("PianoForte.ico", wxBITMAP_TYPE_ICON_RESOURCE)

The wxLua interpreter response is:
>Expected an 'integer enum' for parameter 3, but got a 'no value'.

How can I get this enum value? Lua does not support integers, so it must be a C library. Appending 'wx.' to the enum constant does not yield a value.

Discussion

  • John Labenski

    John Labenski - 2014-04-21
    • status: open --> closed
    • assigned_to: John Labenski
     

Log in to post a comment.