]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/printdlg_osx.cpp
Don't reset bullet number and outline number when applying style sheet.
[wxWidgets.git] / src / osx / printdlg_osx.cpp
index c0edeccc5642027924c702dff1491fb760ff3898..470e2745fe2f3d82b12b8c24e100722c46978b00 100644 (file)
@@ -67,10 +67,9 @@ bool wxMacPrintDialog::Create( wxWindow *p, wxPrintDialogData *data )
 
 wxMacPrintDialog::~wxMacPrintDialog()
 {
-    if (m_destroyDC && m_printerDC)
+    if (m_destroyDC)
     {
-        delete m_printerDC;
-        m_printerDC = NULL;
+        wxDELETE(m_printerDC);
     }
 }