// this is defined in src/gtk/toplevel.cpp
extern int wxOpenModalDialogsCount;
-wxDEFINE_TIED_SCOPED_PTR_TYPE(wxGUIEventLoop);
+wxDEFINE_TIED_SCOPED_PTR_TYPE(wxGUIEventLoop)
//-----------------------------------------------------------------------------
wxDialog::~wxDialog()
{
- m_isBeingDeleted = true;
-
// if the dialog is modal, this will end its event loop
if ( IsModal() )
EndModal(wxID_CANCEL);