]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dcprint.h
assert that wxRound() argument is in the supported range
[wxWidgets.git] / include / wx / dcprint.h
index 337207ebdadd6c4d07b5e2934a7aa3c5a8c1d6a8..10936c4781c245ac62edac5471ea2b31b6f553d8 100644 (file)
@@ -1,7 +1,22 @@
+/////////////////////////////////////////////////////////////////////////////
+// Name:        wx/dcprint.h
+// Purpose:     wxPrinterDC base header
+// Author:      Julian Smart
+// Modified by:
+// Created:
+// Copyright:   (c) Julian Smart
+// RCS-ID:      $Id$
+// Licence:     wxWindows Licence
+/////////////////////////////////////////////////////////////////////////////
+
 #ifndef _WX_DCPRINT_H_BASE_
 #define _WX_DCPRINT_H_BASE_
 
-#if defined(__PALMOS__)
+#include "wx/defs.h"
+
+#if wxUSE_PRINTING_ARCHITECTURE
+
+#if defined(__WXPALMOS__)
 #include "wx/palmos/dcprint.h"
 #elif defined(__WXMSW__)
 #include "wx/msw/dcprint.h"
@@ -13,5 +28,6 @@
 #include "wx/mac/dcprint.h"
 #endif
 
+#endif // wxUSE_PRINTING_ARCHITECTURE
 #endif
     // _WX_DCPRINT_H_BASE_