X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b597caaca8ade60aa8ef750c94df803bbd8ba422..3f1af9204f1813a10e2c59a5f9b28a7eec630861:/include/wx/msw/dc.h diff --git a/include/wx/msw/dc.h b/include/wx/msw/dc.h index 7e3133f0c8..bba7bd5f81 100644 --- a/include/wx/msw/dc.h +++ b/include/wx/msw/dc.h @@ -23,6 +23,19 @@ #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 { DECLARE_ABSTRACT_CLASS(wxDC)