From: Paul Cornett Date: Fri, 15 Sep 2006 16:45:48 +0000 (+0000) Subject: wrap print headers at top level X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c8f8427191a2394a1b79c349b29cdd80df38e953 wrap print headers at top level git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dcprint.h b/include/wx/dcprint.h index 8f976472f2..10936c4781 100644 --- a/include/wx/dcprint.h +++ b/include/wx/dcprint.h @@ -12,6 +12,10 @@ #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_ diff --git a/include/wx/print.h b/include/wx/print.h index f3a3bfa7f1..ef851dde8c 100644 --- a/include/wx/print.h +++ b/include/wx/print.h @@ -12,6 +12,10 @@ #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_