X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b815cf68d24508ab76ace1ef439a6d4feffbd487..3c9863aca7b164a3fa3fcb61af9f0fbdf30e08f2:/src/msw/hyperlink.cpp?ds=inline diff --git a/src/msw/hyperlink.cpp b/src/msw/hyperlink.cpp index 4e1ec86e7e..1eb3fb2ca1 100644 --- a/src/msw/hyperlink.cpp +++ b/src/msw/hyperlink.cpp @@ -19,12 +19,15 @@ #pragma hdrstop #endif -#if wxUSE_HYPERLINKCTRL +#if wxUSE_HYPERLINKCTRL && wxUSE_UNICODE #include "wx/hyperlink.h" #ifndef WX_PRECOMP #include "wx/stattext.h" + #include "wx/msw/wrapcctl.h" // include "properly" + #include "wx/msw/private.h" + #include "wx/msw/missing.h" #endif // ---------------------------------------------------------------------------- @@ -39,6 +42,10 @@ #define LWS_RIGHT 0x0020 #endif +#ifndef WC_LINK + #define WC_LINK L"SysLink" +#endif + // ---------------------------------------------------------------------------- // Helper functions // ---------------------------------------------------------------------------- @@ -169,4 +176,4 @@ bool wxHyperlinkCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) return wxGenericHyperlinkCtrl::MSWOnNotify(idCtrl, lParam, result); } -#endif // wxUSE_HYPERLINKCTRL +#endif // wxUSE_HYPERLINKCTRL && wxUSE_UNICODE