// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
-#include "wx/object.h"
-#include "wx/window.h"
-#include "wx/dc.h"
-#include "wx/cursor.h"
+#ifndef WX_PRECOMP
+ #include "wx/object.h"
+ #include "wx/window.h"
+ #include "wx/dc.h"
+ #include "wx/cursor.h"
+#endif
/* Current cursor, in order to hang on to
* cursor handle when setting the cursor globally */