]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/print.h
fix aui crash related to SF bug 1531361
[wxWidgets.git] / include / wx / print.h
index f3a3bfa7f130b7c3b767d972c782d48564556b2f..ef851dde8c625de65abad9c93cdee8d589d8ecf6 100644 (file)
 #ifndef _WX_PRINT_H_BASE_
 #define _WX_PRINT_H_BASE_
 
+#include "wx/defs.h"
+
+#if wxUSE_PRINTING_ARCHITECTURE
+
 #if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
 
 #include "wx/msw/printwin.h"
@@ -30,6 +34,6 @@
 
 #endif
 
-
+#endif // wxUSE_PRINTING_ARCHITECTURE
 #endif
     // _WX_PRINT_H_BASE_