]> git.saurik.com Git - wxWidgets.git/commit
Fix wxFindWindowAtPoint() unit test to pass under GTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Oct 2012 00:16:53 +0000 (00:16 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Oct 2012 00:16:53 +0000 (00:16 +0000)
commit92c9a59d7a44e82f98b149b95cb113be335ed200
treeb2ff23721e3a1408e0716316be6198f187dd282d
parent44040e5eca3ea63fc268153df55a88e2a40cad1b
Fix wxFindWindowAtPoint() unit test to pass under GTK.

We need to ensure that all windows are realized before querying their
positions on screen, so add an extra wxYield().

Also adjust the tests slightly as the windows are now all created in the
beginning of the function.

Finally, use Destroy() instead of wxDELETE() for windows.

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