Use the correct function type cast in EVT_WEBKIT_NEW_WINDOW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 24 Dec 2011 15:43:12 +0000 (15:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 24 Dec 2011 15:43:12 +0000 (15:43 +0000)
commit7182483bf7f81ea38a65f452f6cf4061de3bfb70
treea5747d8ee1e804337f8600bef4ac15759073cc32
parent70ef16f4e247c08ef1d7dbe3d8e354723f7ca0b4
Use the correct function type cast in EVT_WEBKIT_NEW_WINDOW.

Use wxWebKitNewWindowEventHandler to perform a proper static_cast<>, which
detects incorrect casts during compilation, instead of
wxWebKitNewWindowEventFunction which was just doing an unsafe C-style cast.

Cloes #13805.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/html/webkit.h