X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4608b3f83757f5eac74f7113cf99ab42887ce0b9..1fb08526acab831aacfd4549efd32f84b31a24a5:/interface/wx/colourdata.h?ds=sidebyside diff --git a/interface/wx/colourdata.h b/interface/wx/colourdata.h index 45b5aab175..0b1dea908f 100644 --- a/interface/wx/colourdata.h +++ b/interface/wx/colourdata.h @@ -2,7 +2,6 @@ // Name: colourdata.h // Purpose: interface of wxColourData // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -19,6 +18,12 @@ class wxColourData : public wxObject { public: + /// number of custom colours we store + enum + { + NUM_CUSTOM = 16 + }; + /** Constructor. Initializes the custom colours to @c wxNullColour, the @e data colour setting to black, and the @e choose full setting to @@ -33,10 +38,9 @@ public: /** Under Windows, determines whether the Windows colour dialog will - display the full dialog with custom colour selection controls. Under - PalmOS, determines whether colour dialog will display full rgb colour - picker or only available palette indexer. Has no meaning under other - platforms. + display the full dialog with custom colour selection controls. + + Has no meaning under other platforms. The default value is @true. */ @@ -87,7 +91,7 @@ public: void SetCustomColour(int i, const wxColour& colour); /** - Converts the colours saved in this class in a string form, separing + Converts the colours saved in this class in a string form, separating the various colours with a comma. */ wxString ToString() const;