]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dcprint.cpp
remove the vertical scrollbar completely if the control is empty
[wxWidgets.git] / src / os2 / dcprint.cpp
index 87c745f2e8a7f1c69baa708abb0f1b469f7a68ea..655622d16f35f25be094df564710a29aa3158b4f 100644 (file)
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
+#if wxUSE_PRINTING_ARCHITECTURE
+
 #define INCL_DEV
 #define INCL_GPI
 #define INCL_PM
 #include<os2.h>
 
+#include "wx/dcprint.h"
+
 #ifndef WX_PRECOMP
-#include "wx/app.h"
-#include "wx/math.h"
+    #include "wx/app.h"
+    #include "wx/math.h"
+    #include "wx/string.h"
 #endif
 
-#include "wx/string.h"
 #include "wx/log.h"
 #include "wx/window.h"
 #include "wx/os2/private.h"
-#include "wx/dcprint.h"
-
-#if wxUSE_PRINTING_ARCHITECTURE
 
 IMPLEMENT_CLASS(wxPrinterDC, wxDC)