X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76e9224eb2edea8afe45faa6a1cd1b2894d245c2..3508c1432884472f0d24f0f98c0dc75ed35df297:/interface/wx/cmndata.h diff --git a/interface/wx/cmndata.h b/interface/wx/cmndata.h index 1f68d41cab..4fd908859e 100644 --- a/interface/wx/cmndata.h +++ b/interface/wx/cmndata.h @@ -424,14 +424,21 @@ public: 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); }; @@ -661,7 +668,7 @@ public: /** Assigns print data to this object. */ - void operator =(const wxPrintData& data); + wxPrintData& operator =(const wxPrintData& data); };