X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7bcb11d30764df47144189e164f53d8171ed4a63..c7abc967cda4ca459214626c1f3592e1ac363f81:/src/msw/dcprint.cpp diff --git a/src/msw/dcprint.cpp b/src/msw/dcprint.cpp index d304d8bbc9..95fe393b28 100644 --- a/src/msw/dcprint.cpp +++ b/src/msw/dcprint.cpp @@ -24,9 +24,10 @@ #endif #include "wx/dcprint.h" +#include "wx/log.h" #include "math.h" -#include +#include "wx/msw/private.h" #if wxUSE_COMMON_DIALOGS #include @@ -36,18 +37,6 @@ #include #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 @@ -194,7 +183,7 @@ bool wxPrinterDC::StartDoc(const wxString& message) 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