diff options
author | Peter Åstrand <astrand@cendio.se> | 2008-12-09 10:50:40 +0000 |
---|---|---|
committer | Peter Åstrand <astrand@cendio.se> | 2008-12-09 10:50:40 +0000 |
commit | cf75be18ead613c173163f1c8aa89609d79f53e7 (patch) | |
tree | 23a26184208c398e2486a9a8a23e061f0d1feab3 | |
parent | f14f0d03e78ae343a8db61f20f59d4af7480c746 (diff) | |
download | tigervnc-cf75be18ead613c173163f1c8aa89609d79f53e7.tar.gz tigervnc-cf75be18ead613c173163f1c8aa89609d79f53e7.zip |
MinGW tweak: Use sizeof(PROPSHEETHEADER) instead of
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
-rw-r--r-- | win/rfb_win32/Dialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/Dialog.cxx b/win/rfb_win32/Dialog.cxx index 398334f0..d07ecd61 100644 --- a/win/rfb_win32/Dialog.cxx +++ b/win/rfb_win32/Dialog.cxx @@ -259,7 +259,7 @@ bool PropSheet::showPropSheet(HWND owner, bool showApply, bool showCtxtHelp, boo // 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; |