]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/hyperlink.cpp
Don't consider lack of connection points an error in wxActiveXContainer.
[wxWidgets.git] / src / msw / hyperlink.cpp
index 4e1ec86e7e1845d151460f0d51fdfc07efbc3702..1eb3fb2ca18472371ffbcc681111e6f69c07984e 100644 (file)
     #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 <commctrl.h> "properly"
+    #include "wx/msw/private.h"
+    #include "wx/msw/missing.h"
 #endif
 
 // ----------------------------------------------------------------------------
     #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