]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dcprint.cpp
fixed incorrect GetTextExtent for wxTELETYPE font
[wxWidgets.git] / src / os2 / dcprint.cpp
index 7f9139ce16e5d932cc917c80348530fb5ebb0f0f..81c60a30d499c161e5108e069b34723821e2072a 100644 (file)
@@ -27,6 +27,8 @@
 #include "wx/dcprint.h"
 #include "math.h"
 
+#if wxUSE_PRINTING_ARCHITECTURE
+
 IMPLEMENT_CLASS(wxPrinterDC, wxDC)
 
 
@@ -328,3 +330,4 @@ WXHDC WXDLLEXPORT wxGetPrinterDC(const wxPrintData& printDataConst)
     return (WXHDC) hDC;
 }
 
+#endif //wxUSE_PRINTING_ARCHITECTURE