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