#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