]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/print.cpp
fixing mngw32 (cross)compilation
[wxWidgets.git] / src / os2 / print.cpp
index 7125a6a8f1ec66253f89bdb43647dab3bc31be48..9073078b2bb14d48c14bb89d25237a19ebc8905a 100644 (file)
 #include "wx/app.h"
 #endif
 
+#if wxUSE_PRINTING_ARCHITECTURE
 
 #include "wx/os2/print.h"
 #include "wx/generic/prntdlgg.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxPrinter, wxPrinterBase)
 IMPLEMENT_CLASS(wxPrintPreview, wxPrintPreviewBase)
-#endif
 
 /*
  * Printer
@@ -96,3 +95,4 @@ void wxPrintPreview::DetermineScaling()
     // TODO
 }
 
+#endif  //wxUSE_PRINTING_ARCHITECTURE