X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b815cf68d24508ab76ace1ef439a6d4feffbd487..58ce18f2fdadecffb21e27555115af708325cf18:/include/wx/hyperlink.h?ds=sidebyside 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"