// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
-#include "wx/colour.h"
-
#ifdef __BORLANDC__
#pragma hdrstop
#endif
-#include "wx/gdicmn.h"
+#include "wx/colour.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/gdicmn.h"
+#endif
+
#include "wx/msw/private.h"
#include <string.h>