diff --git a/include/wx/colour.h b/include/wx/colour.h index 7da9920402..1adc13ee2e 100644 --- a/include/wx/colour.h +++ b/include/wx/colour.h @@ -55,7 +55,7 @@ DECLARE_VARIANT_OBJECT_EXPORTED(wxColour,WXDLLEXPORT) // code redundancy in all native wxColour implementations //----------------------------------------------------------------------------- -#ifdef __WXMAC__ +#if defined( __WXMAC__ ) || defined( __WXMSW__ ) #define wxCOLOUR_IS_GDIOBJECT 0 #else #define wxCOLOUR_IS_GDIOBJECT 1