X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..75299490cde1b98fce6b452564b535da03d88c79:/src/msw/toplevel.cpp diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index 7772899d1b..76363e5dc7 100644 --- a/src/msw/toplevel.cpp +++ b/src/msw/toplevel.cpp @@ -43,6 +43,12 @@ #include "wx/msw/private.h" #include "wx/msw/winundef.h" +// This can't be undefed in winundef.h or +// there are further errors +#if defined(__WXWINCE__) && defined(CreateDialog) +#undef CreateDialog +#endif + #include "wx/display.h" #ifndef ICON_BIG