Ticket #11705 (closed enhancement: fixed)
Patch to enable adding of the UAC symbol to buttons
|Reported by:||cspencer||Owned by:|
Attached is a patch to enable adding of the UAC symbol to buttons on Windows Vista and later.
A couple of notes:
1. I wasn't sure what to name the style, I chose wxBU_UAC, but perhaps something more generic would be better?
2. The symbol is only shown if common controls is enabled in the manifest, but I don't know of any way to detect if this is enabled, so space is always reserved even if it won't be shown. This doesn't strike me as a big deal though as you wouldn't really want to use wxMSW without common controls anyway right?