]> git.saurik.com Git - wxWidgets.git/commitdiff
wrap print headers at top level
authorPaul Cornett <paulcor@bullseye.com>
Fri, 15 Sep 2006 16:45:48 +0000 (16:45 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Fri, 15 Sep 2006 16:45:48 +0000 (16:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dcprint.h
include/wx/print.h

index 8f976472f2455e9196dbdc96390d2e6d9603f2b8..10936c4781c245ac62edac5471ea2b31b6f553d8 100644 (file)
 #ifndef _WX_DCPRINT_H_BASE_
 #define _WX_DCPRINT_H_BASE_
 
+#include "wx/defs.h"
+
+#if wxUSE_PRINTING_ARCHITECTURE
+
 #if defined(__WXPALMOS__)
 #include "wx/palmos/dcprint.h"
 #elif defined(__WXMSW__)
@@ -24,5 +28,6 @@
 #include "wx/mac/dcprint.h"
 #endif
 
+#endif // wxUSE_PRINTING_ARCHITECTURE
 #endif
     // _WX_DCPRINT_H_BASE_
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_