diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2014-10-20 10:27:01 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2014-10-20 10:27:01 (GMT) |
commit | 486247b989afda641e6c626934556097167fdbeb (patch) | |
tree | 3db57d9bdd2fa0beefa4b943deefc9ce25f10766 /win | |
parent | cf6ebf12456efacde3c35f53811a1466b7cf9637 (diff) | |
download | tk-486247b989afda641e6c626934556097167fdbeb.zip tk-486247b989afda641e6c626934556097167fdbeb.tar.gz tk-486247b989afda641e6c626934556097167fdbeb.tar.bz2 |
Make sure IID_IShellItem is defined even when uuid.lib does not export it. Idea stolen from here: [http://trac.wxwidgets.org/changeset/71395]
FossilOrigin-Name: 7477c45ef0c837af31404c59bd63a4a778e90510
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinDialog.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c index fd5b809..b4c06fd 100644 --- a/win/tkWinDialog.c +++ b/win/tkWinDialog.c @@ -528,6 +528,13 @@ struct IFileOpenDialog #endif /* __IFileDialog_INTERFACE_DEFINED__ */ +/* Define this GUID in any case, even when __IShellItem_INTERFACE_DEFINED__ is + * defined in the headers we might still not have it in the actual uuid.lib, + * this happens with at least VC7 used with its original (i.e. not updated) SDK + * and there is no harm in defining the GUID unconditionally. */ +DEFINE_GUID(IID_IShellItem, + 0x43826D1E, 0xE718, 0x42EE, 0xBC, 0x55, 0xA1, 0xE2, 0x61, 0xC3, 0x7B, 0xFE); + /* * Definitions of functions used only in this file. */ |