// wxColour
// ========================================================================
-class WXDLLEXPORT wxColour : public wxColourBase
+class WXDLLIMPEXP_CORE wxColour : public wxColourBase
{
public:
// constructors
// ------------
-
- // default
- wxColour() { Init(); }
DEFINE_STD_WXCOLOUR_CONSTRUCTORS
// initialization using existing NSColor
wxColour( WX_NSColor aColor );
-
// copy ctors and assignment operators
wxColour( const wxColour& col );
wxColour& operator = ( const wxColour& col );
virtual ~wxColour();
// accessors
- bool Ok() const { return IsOk(); }
- bool IsOk() const { return m_cocoaNSColor; }
+ virtual bool IsOk() const { return m_cocoaNSColor; }
WX_NSColor GetNSColor() { return m_cocoaNSColor; }
unsigned char Red() const { return m_red; }
unsigned char alpha = wxALPHA_OPAQUE)
{ wxColourBase::Set(red, green, blue, alpha); }
- bool Set(const wxChar *str)
- { return wxColourBase::Set(str); }
-
bool Set(const wxString &str)
{ return wxColourBase::Set(str); }