Use generic wxHyperlinkCtrl under Vista/7 without comtrl32.dll v6.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 22 Dec 2010 13:56:49 +0000 (13:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 22 Dec 2010 13:56:49 +0000 (13:56 +0000)
commitacd0b94c38adb10461dbd68b04797efb7f868800
treefb8f931266879cfdff83f473e643dbfb4cbfb5bc
parentb9293331c6e25901bd5f615c14950b5a75f2a27b
Use generic wxHyperlinkCtrl under Vista/7 without comtrl32.dll v6.

Replace the test for the OS version with the test for comtrl32.dll version in
HasNativeHyperlinkCtrl() wxMSW function as the native control could be not
available even under Vista/7 if we're not using comtrl32.dll v6 and this can
happen if the program was linked without the appropriate manifest or, possibly
more likely, if a DLL using wxWidgets was loaded by such a program.

Closes #12711.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/hyperlink.cpp