// Author: Stefan Csomor
// Modified by:
// Created: 1998-01-01
-// RCS-ID: $Id: printdlg.cpp 58164 2009-01-17 08:46:00Z SC $
+// RCS-ID: $Id$
// Copyright: (c) Stefan Csomor
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
wxMacPrintDialog::~wxMacPrintDialog()
{
- if (m_destroyDC && m_printerDC)
+ if (m_destroyDC)
{
- delete m_printerDC;
- m_printerDC = NULL;
+ wxDELETE(m_printerDC);
}
}