]> git.saurik.com Git - wxWidgets.git/commit
Work around a crash on starting editing in wxGrid under wxOSX/Cocoa.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Aug 2010 22:15:22 +0000 (22:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Aug 2010 22:15:22 +0000 (22:15 +0000)
commit45d1c40a918c3e7324a7c86cac608185cac58b79
treec7485b2397df2966976fc106b1a424c9d3312476
parent4b97af90bf2f010e61ed785cec8029e8e7903bc9
Work around a crash on starting editing in wxGrid under wxOSX/Cocoa.

wxOSX/Cocoa currently generates unexpected focus loss events with the window
gaining focus being the same one as losing it. This is wrong and shouldn't
happen but as long as it does, filter these events out to at least allow
editing the grid to work.

See #12267.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/osx/cocoa/window.mm