]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcprint.cpp
1. some more of "#if wxUSE_XXX" here and there
[wxWidgets.git] / src / msw / dcprint.cpp
index 96a461eaaf127b255045b6d5ed9f51fecafc886e..0f402ccffbceef56bdb2e660e092b253425c011c 100644 (file)
 #ifndef WX_PRECOMP
 #endif
 
-#include "wx/dcprint.h"
+#include "wx/string.h"
 #include "wx/log.h"
+#include "wx/window.h"
+#include "wx/msw/private.h"
+#include "wx/dcprint.h"
 #include "math.h"
 
-#include <windows.h>
-
-#if wxUSE_COMMON_DIALOGS
+#if wxUSE_COMMON_DIALOGS || defined(__WXWINE__)
 #include <commdlg.h>
 #endif
 
 #include <print.h>
 #endif
 
-#ifdef DrawText
-#undef DrawText
-#endif
-
-#ifdef GetCharWidth
-#undef GetCharWidth
-#endif
-
-#ifdef StartDoc
-#undef StartDoc
-#endif
-
 #if !USE_SHARED_LIBRARY
 IMPLEMENT_CLASS(wxPrinterDC, wxDC)
 #endif