Re: menuicons, html

Bryan Bulten <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
A couple of updates...
 
> > 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.

Here's how to use it:

    // Create a menu item
    MenuItem item = new MenuItem(menu);
    item.Id = (int)Cmd.About;
    item.Text = "Test";

    // Set the bitmap icon
    item.Bitmap = new wx.Bitmap("/path/to/image.png");           
    menu.Append(item);

> > Is it planed to add the HTML Control of WX-Windows to XW#?
> 
> It is planned.  I am also considering creating a wrapper for
> wxMozilla, since it is much better at rendering HTML.

I've started porting the wxHTML classes.  I'll send out another update
when they are somewhat usable. ;-)


Cheers.

-- 
Bryan Bulten
http://www.bulten.ca/
http://wxnet.sourceforge.net/


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