X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/127eab18f80e5b298b8c0326609ed811035e6829..9c8e10ad37434a8801f2a5c3d4675cfddd61635d:/src/mgl/data.cpp

diff --git a/src/mgl/data.cpp b/src/mgl/data.cpp
index d22b68b1ef..ef34e4118d 100644
--- a/src/mgl/data.cpp
+++ b/src/mgl/data.cpp
@@ -14,8 +14,9 @@
     #pragma hdrstop
 #endif
 
-#include "wx/defs.h"
-#include "wx/cursor.h"
+#ifndef WX_PRECOMP
+    #include "wx/cursor.h"
+#endif
 
 /* Current cursor, in order to hang on to
  * cursor handle when setting the cursor globally */