X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7bcb11d30764df47144189e164f53d8171ed4a63..34636400a0018eba4a1f63dda18cf32e944b959e:/src/msw/dcprint.cpp diff --git a/src/msw/dcprint.cpp b/src/msw/dcprint.cpp index d304d8bbc9..55eac864f7 100644 --- a/src/msw/dcprint.cpp +++ b/src/msw/dcprint.cpp @@ -23,11 +23,13 @@ #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 - #if wxUSE_COMMON_DIALOGS #include #endif @@ -36,18 +38,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 +184,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