// Copyright: (c) Julian Smart
// (c) 2004 ABX
// (c) Vadim Zeitlin
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// For compilers that support precompilation, includes "wx/wx.h".
{
if ( m_dlgReplace )
{
- delete m_dlgReplace;
- m_dlgReplace = NULL;
+ wxDELETE(m_dlgReplace);
}
else
{
{
if ( m_dlgFind )
{
- delete m_dlgFind;
- m_dlgFind = NULL;
+ wxDELETE(m_dlgFind);
}
else
{
{
if ( event.GetEventObject() == m_btnDelete )
{
- delete m_btnModal;
- m_btnModal = NULL;
-
+ wxDELETE(m_btnModal);
m_btnDelete->Disable();
}
else if ( event.GetEventObject() == m_btnModal )