On Tue, Aug 11, 2009 at 1:40 AM, dheeraj reddy<sunsetim...@gmail.com> wrote:
> Hello everyone,
> I am working on a small application where I need to display both the text
> and Image (wxBitmap) in a wxButton.
> can you please help me with this issue.

I think the best choice would be a wxBitmapButton. Unfortunately it
will not draw the text for you, but you can either create the bitmap
with the text  on it permanently or add the text in your program by
creating a new wxBitmap, select it into a wxMemoryDC, then draw your
bitmap and the text and use this new bitmap in your wxBitmapButton.

Hope this helps,
    John

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to