]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/hyperlink.h
fixing warning and compile error against 10.4
[wxWidgets.git] / include / wx / hyperlink.h
index 8478ede57ba97723fc8a37b1deb9eca6f5195cfa..cecec1ad094280f74528d7a1d9b6952210d615d4 100644 (file)
@@ -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"