Only use native wxHyperlinkCtrl in Unicode build under MSW.
The native control is available to Unicode applications only so disable its use in non-Unicode build. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user