]> git.saurik.com Git - wxWidgets.git/commitdiff
derive wxColourBase from wxObject on msw as well
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 18 Dec 2007 14:06:52 +0000 (14:06 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 18 Dec 2007 14:06:52 +0000 (14:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/colour.h

index 7da992040246b6cdd9795d972f5e466180738c05..1adc13ee2ebe9fc272aad70e1aacf3ecb10bd0a7 100644 (file)
@@ -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