Add check for destroying window with mouse capture in wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 24 Nov 2012 00:33:19 +0000 (00:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 24 Nov 2012 00:33:19 +0000 (00:33 +0000)
commit7df04680cbdafa88233c2b650c24d59fec9d458a
tree855e5399f18413e0861ec783e6da465a54a0a32b
parent395506ea99d9bb1f8e255b6b48fea9d547f02797
Add check for destroying window with mouse capture in wxGTK.

We already have an assert checking for this at wxWindowBase level but it seems
that it wasn't always triggered somehow (maybe because we crashed before
getting there?), so do it sooner.

Closes #14602.

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