#ifndef WX_PRECOMP
#endif
+#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
#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
if (ret <= 0)
{
DWORD lastError = GetLastError();
- wxDebugMsg("wxDC::StartDoc failed with error: %d\n", lastError);
+ wxLogDebug("wxDC::StartDoc failed with error: %d\n", lastError);
}
#endif