PROPSHEETHEADER_V1_SIZE, since the latter is not available in
MinGW. Raises our requirements of comctl32.dll, but should be no
problem nowadays.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3333
3789f03b-4d11-0410-bbf8-
ca57d06f2519
// Initialise and create the PropertySheet itself
PROPSHEETHEADER header;
- header.dwSize = PROPSHEETHEADER_V1_SIZE;
+ header.dwSize = sizeof(PROPSHEETHEADER); // Requires comctl32.dll 4.71 or greater, ie IE 4 or later
header.dwFlags = PSH_MODELESS | (showApply ? 0 : PSH_NOAPPLYNOW) | (showCtxtHelp ? 0 : PSH_USECALLBACK);
header.pfnCallback = removeCtxtHelp;
header.hwndParent = owner;