#include "wx/math.h"
#endif
-#include "wx/osx/uma.h"
+#include "wx/osx/private.h"
#include "wx/osx/printmac.h"
#include "wx/osx/private/print.h"
// May have pressed cancel.
if (!dc || !dc->IsOk())
{
- if (dc)
- delete dc;
+ delete dc;
return false;
}