Instead of destroying the BAboutWindow object on close, Hide() it, then on the destructor of the calling window call Quit() explicitly to destroy it.

This commit is contained in:
John Scipione
2012-11-12 23:57:30 -05:00
parent 04875296c4
commit 97a814061e
6 changed files with 21 additions and 56 deletions
+1 -2
View File
@@ -17,8 +17,7 @@ class BHandler;
class BAboutWindow : public BWindow {
public:
BAboutWindow(BHandler* handler,
const char* appName,
BAboutWindow(const char* appName,
const char* signature);
virtual ~BAboutWindow();