]> git.saurik.com Git - wxWidgets.git/commit
Fix wxWebView test setup failure under OS X.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Apr 2013 12:53:51 +0000 (12:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Apr 2013 12:53:51 +0000 (12:53 +0000)
commit4776f0c8c5cab0816974874140a3b429ae126fe0
tree86a522d97dbe0a3aac9c209827e09d293fe69049
parent3bc1418b81f939df2546adfd63128d62622d8717
Fix wxWebView test setup failure under OS X.

Call LoadUrl() after associating our custom event handler with the browser
object as otherwise the wxEVT_WEBVIEW_LOADED event could be generated before
we were set up to catch it, resulting in the assertion failure inside
ENSURE_LOADED.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
tests/controls/webtest.cpp