]> git.saurik.com Git - wxWidgets.git/commit
Implement wxGetActiveWindow() for wxX11.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 22 Sep 2009 00:22:57 +0000 (00:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 22 Sep 2009 00:22:57 +0000 (00:22 +0000)
commit2344c32b7e5872fb04a31e6f20f504d58ac7dab0
tree59a15beb0b73d1bd4e5c7788c27eae16d5d4f12f
parent2c1a1ed190133bc31ce75992bf8ba13cb3e171a6
Implement wxGetActiveWindow() for wxX11.

Now that wxGetActiveWindow() is used when showing modal dialogs, it became
critical to implement it as otherwise an assert happens every time a dialog is
shown and because creating the assert dialog itself results in another (same)
assert, this immediately results in a crash.

So implement it even if in a very trivial (but hopefully not too incorrect)
way.

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