From 84bf3902cfd2eb61681163ddcf1d4f6c4aa166a1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 18 Aug 2010 23:57:26 +0000 Subject: [PATCH] Compilation fix for old SDKs in new native MSW wxHyperLinkCtrl code. Define WC_LINK ourselves if it's not defined in the headers. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/hyperlink.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/msw/hyperlink.cpp b/src/msw/hyperlink.cpp index a2ba44a8eb..0e4f5009f5 100644 --- a/src/msw/hyperlink.cpp +++ b/src/msw/hyperlink.cpp @@ -39,6 +39,10 @@ #define LWS_RIGHT 0x0020 #endif +#ifndef WC_LINK + #define WC_LINK L"SysLink" +#endif + // ---------------------------------------------------------------------------- // Helper functions // ---------------------------------------------------------------------------- -- 2.47.2