Both image and text on a button

If you are using wxDev-C++ for your wxWidgets design, please ask your questions here instead of in IDE Related.
Post Reply
hkBattousai
Knows some wx things
Knows some wx things
Posts: 26
Joined: Sun Mar 11, 2007 3:21 pm

Both image and text on a button

Post by hkBattousai » Tue Mar 13, 2007 5:42 am

I want to create buttons like the ones in the picture below :
Image
I will use icon files as resource.

Should I use a simple Button control or BitmapButton contol?
There is no feature for loading icons in the properties of Button control, and no text displaying for BitmapButton control. Am I wrong?
How can I do that?

User avatar
tierra
Site Admin
Site Admin
Posts: 1343
Joined: Sun Aug 29, 2004 7:14 pm
Location: Salt Lake City, Utah, USA
Contact:

Post by tierra » Tue Mar 13, 2007 4:37 pm

Please search before asking your question. This is a very common question, and has been answered in all of the following threads on this forum already:

1. http://forums.wxwidgets.org/viewtopic.php?t=10633
2. http://forums.wxwidgets.org/viewtopic.php?t=10083
3. http://forums.wxwidgets.org/viewtopic.php?t=6976
4. http://forums.wxwidgets.org/viewtopic.php?t=5172

Post Reply