hello,
I found that there are two styles for buttons. Please see the pictures.
Can somebody tell me what parameter makes the difference?
Button styles Topic is solved
- tierra
- Site Admin
- Posts: 1355
- Joined: Sun Aug 29, 2004 7:14 pm
- Location: Salt Lake City, Utah, USA
- Contact:
The first would be the standard XP themed button, and the other would be the standard non-themed button. The button style uses XP when possible (if you have the manifest setup correctly, which if you see it at some point somewhere, you do), but will fall back on the standard button if you change certain colors or styles that the XP themed button doesn't support.
if you add a resource file to your project, which includes wx/msw/wx.rc
e.g. wxApp.rc
then the manifest info will be included in the resource by default.
(can be switched off by some preprocesser macro if you don't like it)
brgds
e.g. wxApp.rc
Code: Select all
aaaaaaaa ICON "myAppIcon.ico"
#include "wx/msw/wx.rc"
(can be switched off by some preprocesser macro if you don't like it)
brgds
-tiwag