]> git.saurik.com Git - wxWidgets.git/commit
Fixed x64 application termination after exceptions in a file dialog callback.
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Fri, 2 Dec 2011 10:15:16 +0000 (10:15 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Fri, 2 Dec 2011 10:15:16 +0000 (10:15 +0000)
commit303742724331746439b1d2a8236d42f2930779f5
tree0d2104dd98f3a5f251afa7c664977c1f36ae2513
parent44d39160f5ad7851e4f6a0f02fa3a2071271c1cb
Fixed x64 application termination after exceptions in a file dialog callback.

Since Windows 7 exceptions thrown in a file dialog callback (possibly by third-party utilities) aren't swallowed anymore. Make use of SetProcessUserModeExceptionPolicy (available in Windows 7 SP1) to temporarily restore the old behaviour and prevent the crashing (or summoning of the Program Compatibility Assistant) of an x64 application.

Closes #13674.

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