]> git.saurik.com Git - wxWidgets.git/commit
Fix crash in wxStaticBox::HandleEraseBkgnd() in wxMSW on closing.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 12 Jun 2012 21:56:58 +0000 (21:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 12 Jun 2012 21:56:58 +0000 (21:56 +0000)
commita15781955d5e06b1a9a197be87a6f8734a8ba5e2
treedc7f10e4e8e581eccf834365ea8e4466f14480cf
parent3dd30495169b650e8a37699d714f183691d8f2c5
Fix crash in wxStaticBox::HandleEraseBkgnd() in wxMSW on closing.

Don't process WM_ERASEBKGND if we're being destroyed. This is at best useful
and at worst harmful as we currently crash in wxStaticBox::GetClientSize() if
there is no valid TLW parent.

Closes #14355.

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