Page 1 of 1

wxButton Look and feel problem

Posted: Fri Jan 27, 2006 2:21 pm
by MuhammadSohail
Hi all,

I want to button should be round at each corner but unfortunately it looks
square. I am using windows xp.
I am creating buttons as follows

wxButton* cancelButton = new wxButton( this, CANCEL_BUTTON_ID, "Cancel", wxPoint(-1,-1), wxSize(-1, 30) );

Someone help me to create round at corners button.


Posted: Fri Jan 27, 2006 3:23 pm
by Jorg
I assume you mean the XP theme?

You either have to include the wx.rc file to your own project, or create a manifest file for Windows XP to use the proper DLL that will render the buttons the modern style.

- Jorgen

Posted: Fri Jan 27, 2006 4:08 pm
by Jorg
Please do not crosspost. I wasted time on this and you were already helped on another thread.

- Jorgen