X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2432b92dd7a837db13d3938a56c1959decd03203..9bd6a5037aa30e8fa46466509aee18abd14318a0:/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)