]> git.saurik.com Git - wxWidgets.git/commit
Check if MacGetTopLevelWindow returns NULL before using it. This can
authorRobin Dunn <robin@alldunn.com>
Mon, 14 Jun 2004 22:04:55 +0000 (22:04 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 14 Jun 2004 22:04:55 +0000 (22:04 +0000)
commit5437ff47ec2ee9bd44a54b4584965b8a5ffbfe1d
tree5a05b794b2d885bf316d27df1e316cddbdae7169
parent4c51584544f463f0f0b08fc0cb25a8d00238950e
Check if MacGetTopLevelWindow returns NULL before using it.  This can
happen when the toplevel window is beign destroyed but a decendent
window (child, grandchild...) has an EVT_KILL_FOCUS handler that does
some drawing or other significant work.

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