]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/print.cpp
Added wxAutoNSAutoreleasePool where needed for controls sample.
[wxWidgets.git] / src / os2 / print.cpp
index ee078d057ef2b1d9bc8b952cdf1db3276b4f7101..9073078b2bb14d48c14bb89d25237a19ebc8905a 100644 (file)
@@ -19,6 +19,7 @@
 #include "wx/app.h"
 #endif
 
+#if wxUSE_PRINTING_ARCHITECTURE
 
 #include "wx/os2/print.h"
 #include "wx/generic/prntdlgg.h"
@@ -94,3 +95,4 @@ void wxPrintPreview::DetermineScaling()
     // TODO
 }
 
+#endif  //wxUSE_PRINTING_ARCHITECTURE