]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/printdlg.cpp
Don't do the wx cleanup if wxPython didn't do the initialization.
[wxWidgets.git] / src / mac / printdlg.cpp
index 8f59b0d2e3137b15a565fa9437046fbf582fdb15..adb620e76f4c602ef12da3f168ad81b07edba336 100644 (file)
@@ -18,6 +18,9 @@
 #include "wx/dcprint.h"
 #include "wx/msgdlg.h"
 #include "wx/mac/uma.h"
+#ifndef __DARWIN__
+    #include "Printing.h"
+#endif
 
 #if defined(TARGET_CARBON) && !defined(__DARWIN__)
 #  if PM_USE_SESSION_APIS