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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user