X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7cf41a5d66bec0a1297f1417852647aa353a148f..4f450f41a2c02db9c35e3e566b381c85b5714de8:/src/msw/colour.cpp diff --git a/src/msw/colour.cpp b/src/msw/colour.cpp index 8d667f730e..ad1c5221f9 100644 --- a/src/msw/colour.cpp +++ b/src/msw/colour.cpp @@ -18,7 +18,10 @@ #include "wx/colour.h" -#include "wx/gdicmn.h" +#ifndef WX_PRECOMP + #include "wx/gdicmn.h" +#endif + #include "wx/msw/private.h" #include @@ -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()