wxMacPrintDialog::~wxMacPrintDialog()
{
- if (m_destroyDC && m_printerDC)
+ if (m_destroyDC)
{
- delete m_printerDC;
- m_printerDC = NULL;
+ wxDELETE(m_printerDC);
}
}
m_LeftMargin->SetFocus();
return true;
}
-
+
bool wxMacPageMarginsDialog::TransferDataFromWindow()
{
wxPoint topLeft, bottomRight;
m_pageSetupDialogData->SetMarginBottomRight(bottomRight);
return true;
}
-
+
bool wxMacPageMarginsDialog::CheckValue(wxTextCtrl* textCtrl, int *value, int minValue, const wxString& name)
{
long lvalue;