]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/toplevel.cpp
wxNavigationKeyEvent doesn't derive from wxCommandEvent (but from wxEvent)
[wxWidgets.git] / src / msw / toplevel.cpp
index 7772899d1bb6e28e4d502d1ca60ff2fd521f11ad..76363e5dc777248317811d8d8227c5e0641899d9 100644 (file)
 #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