From: Vadim Zeitlin Date: Wed, 18 Aug 2010 23:57:26 +0000 (+0000) Subject: Compilation fix for old SDKs in new native MSW wxHyperLinkCtrl code. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/84bf3902cfd2eb61681163ddcf1d4f6c4aa166a1 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 --- 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 // ----------------------------------------------------------------------------