// Name: colourdata.h
// Purpose: interface of wxColourData
// Author: wxWidgets team
-// RCS-ID: $Id$
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
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
/**
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.
*/
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;