windows should not be destroyed just because the close event succeeds
This commit is contained in:
parent
27df7100b4
commit
52a7a1c5e6
@ -1418,12 +1418,7 @@ bool wxWindowQt::QtHandleCloseEvent ( QWidget *handler, QCloseEvent *WXUNUSED( e
|
||||
if ( GetHandle() != handler )
|
||||
return false;
|
||||
|
||||
int close = Close();
|
||||
if ( close )
|
||||
{
|
||||
Destroy();
|
||||
}
|
||||
return close;
|
||||
return Close();
|
||||
}
|
||||
|
||||
bool wxWindowQt::QtHandleContextMenuEvent ( QWidget *WXUNUSED( handler ), QContextMenuEvent *event )
|
||||
|
Loading…
Reference in New Issue
Block a user