wxDialog::~wxDialog()
{
m_isBeingDeleted = true;
+
+ // if the dialog is modal, this will end its event loop
Show(false);
}
// nothing to do
return false;
+ if (show && CanDoLayoutAdaptation())
+ DoLayoutAdaptation();
+
if ( show )
// usually will result in TransferDataToWindow() being called
InitDialog();