Re: menuicons, html

"Alexander Gnauck" <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <003601c3b584$74fa0a00$654aa8c0@2000gnauck>
Hi

>>> is it possible to add icons to a menu? When yes is there a sample?
>> 
>> Not yet, the MenuItem wrapper is still limited.
> 
> I've now implemented this, source is in CVS.

cool,
i checked out the new code and had error on compile in TreeCtrl.cs line 45
i had to cast the object to wx.TreeItemId

public override bool Equals(object o)
{
    if (o == null) return false;
    if ((wx.TreeItemId) o == this) return true;

    return this.id == ((TreeItemId)o).id;
 }

Alex


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.