CGColorRef GetCGColor() const { return m_cgColour; };
CGColorRef CreateCGColor() const { return wxCFRetain( (CGColorRef)m_cgColour ); };
+#if wxMAC_USE_QUICKDRAW
void GetRGBColor( RGBColor *col ) const;
+#endif
// Mac-specific ctor and assignment operator from the native colour
// assumes ownership of CGColorRef
wxColour( CGColorRef col );
+#if wxMAC_USE_QUICKDRAW
wxColour(const RGBColor& col);
wxColour& operator=(const RGBColor& col);
+#endif
wxColour& operator=(CGColorRef col);
wxColour& operator=(const wxColour& col);
protected :
virtual void
InitRGBA(ChannelType r, ChannelType g, ChannelType b, ChannelType a);
+#if wxMAC_USE_QUICKDRAW
void InitRGBColor( const RGBColor& col );
+#endif
void InitCGColorRef( CGColorRef col );
private:
wxCFRef<CGColorRef> m_cgColour;