fix releasing mouse capture before showing modal dialog, see #16647

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Merge branch 'master' of ../wxWidgets_vanilla_trunk-svn into merge
sync with upstream (SVN); patched for ICC; removed files we do not support

Signed-off-by: Marian 'VooDooMan' Meravy <vdm113@gmail.com>
restore our project files

Signed-off-by: Marian 'VooDooMan' Meravy <vdm113@gmail.com>
restore our git and script files

Signed-off-by: Marian 'VooDooMan' Meravy <vdm113@gmail.com>