mirror of https://github.com/adamdruppe/arsd.git
assume commctl6 even without manifest
This commit is contained in:
parent
ab5ff7d9d1
commit
0f5958d42e
|
@ -326,6 +326,15 @@ version(Windows) {
|
|||
static import gdi = core.sys.windows.wingdi;
|
||||
}
|
||||
|
||||
version(Windows) {
|
||||
version(CRuntime_Microsoft) { // FIXME: mingw?
|
||||
// assume we want commctrl6 whenever possible since there's really no reason not to
|
||||
// and this avoids some of the manifest hassle
|
||||
pragma(linkerDirective, "\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// this is a hack to call the original window procedure on native win32 widgets if our event listener thing prevents default.
|
||||
private bool lastDefaultPrevented;
|
||||
|
||||
|
|
Loading…
Reference in New Issue