]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/prntbase.cpp
1945421 applied
[wxWidgets.git] / src / common / prntbase.cpp
index 32ace7ddefe51d41c2ee744029e5b9aa4471e3f7..6e98cfadac79fff34cab5e628a6e0776c6494247 100644 (file)
@@ -57,6 +57,9 @@
 #include "wx/mac/printdlg.h"
 #include "wx/mac/private/print.h"
 #include "wx/mac/dcprint.h"
+#elif defined(__WXPM__)
+#include "wx/os2/dcprint.h"
+#include "wx/generic/prntdlgg.h"
 #else
 #include "wx/generic/prntdlgg.h"
 #include "wx/dcps.h"
@@ -209,7 +212,7 @@ wxDialog *wxNativePrintFactory::CreatePrintSetupDialog( wxWindow *parent,
 
 wxDCImpl* wxNativePrintFactory::CreatePrinterDCImpl( wxPrinterDC *owner, const wxPrintData& data )
 {
-#if defined(__WXGTK__) || defined(__WXUNIVERSAL__)
+#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXUNIVERSAL__)
     return new wxPostScriptDCImpl( owner, data );
 #else
     return new wxPrinterDCImpl( owner, data );