]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/print.cpp
use ES_RIGHT|ES_NUMBER styles for the buddy control as it's used for numeric entry...
[wxWidgets.git] / src / os2 / print.cpp
index 99050676ed893fa7b2b6045a202dd6f9dbb879c8..ee4fda74fc9be09c023decfa12c94cf9d3deb153 100644 (file)
 
 #include "wx/wxprec.h"
 
 
 #include "wx/wxprec.h"
 
+#if wxUSE_PRINTING_ARCHITECTURE
+
 #ifndef WX_PRECOMP
 #ifndef WX_PRECOMP
-#include <stdio.h>
-#include "wx/setup.h"
-#include "wx/list.h"
-#include "wx/utils.h"
-#include "wx/app.h"
+    #include <stdio.h>
+    #include "wx/list.h"
+    #include "wx/utils.h"
+    #include "wx/app.h"
 #endif
 
 #endif
 
-#if wxUSE_PRINTING_ARCHITECTURE
-
 #include "wx/os2/printos2.h"
 #include "wx/generic/prntdlgg.h"
 
 #include "wx/os2/printos2.h"
 #include "wx/generic/prntdlgg.h"
 
@@ -63,9 +62,6 @@ bool wxOS2Printer::Setup(wxWindow *WXUNUSED(parent))
 // TODO:
 /*
     wxPrintDialog dialog(parent, & m_printData);
 // TODO:
 /*
     wxPrintDialog dialog(parent, & m_printData);
-#if WXWIN_COMPATIBILITY_2_4
-    dialog.GetPrintData().SetSetupDialog(true);
-#endif
     return (dialog.ShowModal() == wxID_OK);
 */
     return false;
     return (dialog.ShowModal() == wxID_OK);
 */
     return false;