]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/print.cpp
Applied #11236: Event from thread not processed
[wxWidgets.git] / src / os2 / print.cpp
index dd82cee220ce17bd170e7b30ce8e8f49afcf226d..ee4fda74fc9be09c023decfa12c94cf9d3deb153 100644 (file)
@@ -11,6 +11,8 @@
 
 #include "wx/wxprec.h"
 
+#if wxUSE_PRINTING_ARCHITECTURE
+
 #ifndef WX_PRECOMP
     #include <stdio.h>
     #include "wx/list.h"
@@ -18,8 +20,6 @@
     #include "wx/app.h"
 #endif
 
-#if wxUSE_PRINTING_ARCHITECTURE
-
 #include "wx/os2/printos2.h"
 #include "wx/generic/prntdlgg.h"
 
@@ -62,9 +62,6 @@ bool wxOS2Printer::Setup(wxWindow *WXUNUSED(parent))
 // TODO:
 /*
     wxPrintDialog dialog(parent, & m_printData);
-#if WXWIN_COMPATIBILITY_2_4
-    dialog.GetPrintData().SetSetupDialog(true);
-#endif
     return (dialog.ShowModal() == wxID_OK);
 */
     return false;