]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/colour.cpp
Comment out direction aware code for now.
[wxWidgets.git] / src / msw / colour.cpp
index b48c44724f6ee3adc00eb0748bcd77b4fb0a5d30..ad1c5221f9bb3964e746a4a4e13d7de3b825ec40 100644 (file)
 // 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>
@@ -51,7 +54,7 @@ wxBEGIN_PROPERTIES_TABLE(wxColour)
     wxREADONLY_PROPERTY( Blue, unsigned char, Blue, EMPTY_MACROVALUE , 0 /*flags*/, wxT("Helpstring"), wxT("group"))
 wxEND_PROPERTIES_TABLE()
 
-wxCONSTRUCTOR_3( wxColour, unsigned char, Red, unsigned char, Green, unsigned char, Blue )
+wxDIRECT_CONSTRUCTOR_3( wxColour, unsigned char, Red, unsigned char, Green, unsigned char, Blue )
 
 wxBEGIN_HANDLERS_TABLE(wxColour)
 wxEND_HANDLERS_TABLE()