#define wxDIALOG_DEFAULT_WIDTH 500
#define wxDIALOG_DEFAULT_HEIGHT 500
-IMPLEMENT_DYNAMIC_CLASS(wxDialog, wxTopLevelWindow)
// ----------------------------------------------------------------------------
// wxDialogModalData
//
// Must defer setting the title until after dialog is created and sized
//
- if (!rsTitle.IsNull())
+ if ( !rsTitle.empty() )
SetTitle(rsTitle);
return true;
} // end of wxDialog::Create
// and we will lose activation
m_modalData->ExitLoop();
#if 0
- if (m_pWindowDisabler)
- {
- delete m_pWindowDisabler;
- m_pWindowDisabler = NULL;
- }
+ wxDELETE(m_pWindowDisabler);
#endif
}