]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dcprint.cpp
Merged some STC fixes over to the main branch
[wxWidgets.git] / src / os2 / dcprint.cpp
index eaff9676967698a216bc265b6f9a7ce8ba9307f5..81c60a30d499c161e5108e069b34723821e2072a 100644 (file)
@@ -27,9 +27,9 @@
 #include "wx/dcprint.h"
 #include "math.h"
 
-#if !USE_SHARED_LIBRARY
+#if wxUSE_PRINTING_ARCHITECTURE
+
 IMPLEMENT_CLASS(wxPrinterDC, wxDC)
-#endif
 
 
 // This form is deprecated
@@ -330,3 +330,4 @@ WXHDC WXDLLEXPORT wxGetPrinterDC(const wxPrintData& printDataConst)
     return (WXHDC) hDC;
 }
 
+#endif //wxUSE_PRINTING_ARCHITECTURE