X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b815cf68d24508ab76ace1ef439a6d4feffbd487..98f8e6666b4622a7dc96292f9dfb215af81573d7:/include/wx/hyperlink.h?ds=inline diff --git a/include/wx/hyperlink.h b/include/wx/hyperlink.h index 8478ede57b..cecec1ad09 100644 --- a/include/wx/hyperlink.h +++ b/include/wx/hyperlink.h @@ -135,7 +135,8 @@ typedef void (wxEvtHandler::*wxHyperlinkEventFunction)(wxHyperlinkEvent&); #if defined(__WXGTK210__) && !defined(__WXUNIVERSAL__) #include "wx/gtk/hyperlink.h" -#elif defined(__WXMSW__) && !defined(__WXUNIVERSAL__) +// Note that the native control is only available in Unicode version under MSW. +#elif defined(__WXMSW__) && wxUSE_UNICODE && !defined(__WXUNIVERSAL__) #include "wx/msw/hyperlink.h" #else #include "wx/generic/hyperlink.h"