Bug 822898 - Implement pointer events. CreateEvent hack. r=ehsan
authorOleg Romashin <oleg.romashin@microsoft.com>
Wed, 20 Nov 2013 13:05:37 -0800
changeset 156668 971c64fc4e17474dcdbebf8718cf234210ea1ef3
parent 156667 f227660e779d0b75ad989316acf7f0a5fced6577
child 156669 36431dbba2de7f9673b412189186a8a976f6c551
push idunknown
push userunknown
push dateunknown
reviewersehsan
bugs822898
milestone28.0a1
Bug 822898 - Implement pointer events. CreateEvent hack. r=ehsan
content/events/public/nsEventDispatcher.h
--- a/content/events/public/nsEventDispatcher.h
+++ b/content/events/public/nsEventDispatcher.h
@@ -5,16 +5,19 @@
 
 #ifdef MOZILLA_INTERNAL_API
 #ifndef nsEventDispatcher_h___
 #define nsEventDispatcher_h___
 
 #include "mozilla/EventForwards.h"
 #include "nsCOMPtr.h"
 
+// Microsoft's API Name hackery sucks
+#undef CreateEvent
+
 class nsEventTargetChainItem;
 class nsIDOMEvent;
 class nsIScriptGlobalObject;
 class nsPresContext;
 
 template<class E> class nsCOMArray;
 
 namespace mozilla {