X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/518f33a4e50585cab19757375a2c348e61d2594f..9390a202a8b9d67d393faf3e1323885e6a27c127:/include/wx/msw/dc.h diff --git a/include/wx/msw/dc.h b/include/wx/msw/dc.h index 7d101628e6..bba7bd5f81 100644 --- a/include/wx/msw/dc.h +++ b/include/wx/msw/dc.h @@ -21,6 +21,20 @@ #include "wx/icon.h" #include "wx/font.h" #include "wx/gdicmn.h" +#include "wx/window.h" + +// Clash with Windows header files +#ifdef StartDoc +#undef StartDoc +#endif + +#ifdef DrawText +#undef DrawText +#endif + +#ifdef GetCharWidth +#undef GetCharWidth +#endif class WXDLLEXPORT wxDC: public wxObject {