@param i
An integer between 0 and 15 for whatever custom colour you want to
set. The default custom colours are invalid colours.
+ @param colour
+ The colour to set
*/
void SetCustomColour(int i, const wxColour& colour);
/**
- Assignment operator for the colour data.
+ Converts the colours saved in this class in a string form, separing
+ the various colours with a comma.
*/
- wxColourData& operator =(const wxColourData& data);
+ wxString ToString() const;
+ /**
+ Decodes the given string, which should be in the same format returned
+ by ToString(), and sets the internal colours.
+ */
+ bool FromString(const wxString& str);
- /** @todo document these */
- wxString wxColourData::ToString() const;
- bool wxColourData::FromString(const wxString& str);
+ /**
+ Assignment operator for the colour data.
+ */
+ wxColourData& operator =(const wxColourData& data);
};
/**
Assigns print data to this object.
*/
- void operator =(const wxPrintData& data);
+ wxPrintData& operator =(const wxPrintData& data);
};