]> git.saurik.com Git - wxWidgets.git/commit
Destroy modeless wxGenericAboutDialog when it is closed.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 20 Jan 2012 22:11:32 +0000 (22:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 20 Jan 2012 22:11:32 +0000 (22:11 +0000)
commit04ca40fce80f2e19509907e80700277c1d4c8fa3
treeada39d7f79dd74ff9adec21b4cf3ff296d5ff752
parent2d143b6689b9ce3f02398d1ee4129f6a21024183
Destroy modeless wxGenericAboutDialog when it is closed.

Don't leave the wxGenericAboutDialog object alive when non-modal about dialog
(as can be used under GTK and OS X) is closed. This is wasteful and, worse,
resulted in the program not exiting after such a dialog was shown because it
counted as a remaining open top level window.

This also fixes the same bug in wxGTK when using GTK+ 2.4.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/generic/aboutdlgg.h
src/generic/aboutdlgg.cpp