#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
// ----------------------------------------------------------------------------
return wxGenericHyperlinkCtrl::MSWOnNotify(idCtrl, lParam, result);
}
-#endif // wxUSE_HYPERLINKCTRL
+#endif // wxUSE_HYPERLINKCTRL && wxUSE_UNICODE