Valid RGB values are in the range 0 to 255.
+You can retrieve the current system colour settings with \helpref{wxSystemSettings}{wxsystemsettings}.
+
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
+\wxheading{Include files}
+
+<wx/colour.h>
+
+\wxheading{Predefined objects}
+
+Objects:
+
+{\bf wxNullColour}
+
+Pointers:
+
+{\bf wxBLACK\\
+wxWHITE\\
+wxRED\\
+wxBLUE\\
+wxGREEN\\
+wxCYAN\\
+wxLIGHT\_GREY}
+
\wxheading{See also}
\helpref{wxColourDatabase}{wxcolourdatabase}, \helpref{wxPen}{wxpen}, \helpref{wxBrush}{wxbrush},\rtfsp
-\helpref{wxColourDialog}{wxcolourdialog}
+\helpref{wxColourDialog}{wxcolourdialog}, \helpref{wxSystemSettings}{wxsystemsettings}
\latexignore{\rtfignore{\wxheading{Members}}}
Constructs a colour object using a colour name
listed in {\bf wxTheColourDatabase}.
+\func{}{wxColour}{\param{const wxColour\&}{ colour}}
+
+Copy constructor.
+
\wxheading{Parameters}
\docparam{red}{The red value.}
\docparam{colourName}{The colour name.}
+\docparam{colour}{The colour to copy.}
+
\wxheading{See also}
\helpref{wxColourDatabase}{wxcolourdatabase}
+\pythonnote{Constructors supported by wxPython are:\par
+\indented{2cm}{\begin{twocollist}
+\twocolitem{{\bf wxColour(red=0, green=0, blue=0)}}{}
+\twocolitem{{\bf wxNamedColour(name)}}{}
+\end{twocollist}}
+}
+
+
\membersection{wxColour::Blue}\label{wxcolourblue}
\constfunc{unsigned char}{Blue}{\void}
\constfunc{bool}{Ok}{\void}
-Returns TRUE if the colour object is valid (the colour has been initialised with RGB values).
+Returns true if the colour object is valid (the colour has been initialised with RGB values).
\membersection{wxColour::Red}\label{wxcolourred}
Tests the equality of two colours by comparing individual red, green blue colours.
-TODO: this may be different on platforms other than Windows - no reference counting
-is done on Windows.
-
\membersection{wxColour::operator $!=$}\label{wxcolourinequality}
\func{bool}{operator $!=$}{\param{const wxColour\&}{ colour}}
Tests the inequality of two colours by comparing individual red, green blue colours.
-TODO: this may be different on platforms other than Windows - no reference counting
-is done on Windows.
-
\section{\class{wxColourData}}\label{wxcolourdata}
This class holds a variety of information related to colour dialogs.
\helpref{wxObject}{wxobject}
+\wxheading{Include files}
+
+<wx/cmndata.h>
+
\wxheading{See also}
\helpref{wxColour}{wxcolour}, \helpref{wxColourDialog}{wxcolourdialog}, \helpref{wxColourDialog overview}{wxcolourdialogoverview}
\func{}{wxColourData}{\void}
Constructor. Initializes the custom colours to white, the {\it data colour} setting
-to black, and the {\it choose full} setting to TRUE.
+to black, and the {\it choose full} setting to true.
\membersection{wxColourData::\destruct{wxColourData}}
Under Windows, determines whether the Windows colour dialog will display the full dialog
with custom colour selection controls. Has no meaning under other platforms.
-The default value is TRUE.
+The default value is true.
\membersection{wxColourData::GetColour}\label{wxcolourdatagetcolour}
\membersection{wxColourData::GetCustomColour}\label{wxcolourdatagetcustomcolour}
-\constfunc{wxColour\&}{GetCustomColour}{\param{const int}{ i}}
+\constfunc{wxColour\&}{GetCustomColour}{\param{int}{ i}}
Gets the {\it i}th custom colour associated with the colour dialog. {\it i} should
be an integer between 0 and 15.
Under Windows, tells the Windows colour dialog to display the full dialog
with custom colour selection controls. Under other platforms, has no effect.
-The default value is TRUE.
+The default value is true.
\membersection{wxColourData::SetColour}\label{wxcolourdatasetcolour}
\membersection{wxColourData::SetCustomColour}\label{wxcolourdatasetcustomcolour}
-\func{void}{SetColour}{\param{const int}{ i}, \param{const wxColour\&}{ colour}}
+\func{void}{SetCustomColour}{\param{int}{ i}, \param{const wxColour\&}{ colour}}
Sets the {\it i}th custom colour for the colour dialog. {\it i} should
be an integer between 0 and 15.
\func{void}{operator $=$}{\param{const wxColourData\&}{ data}}
-Assingment operator for the colour data.
+Assignment operator for the colour data.
\section{\class{wxColourDatabase}}\label{wxcolourdatabase}
\wxheading{Derived from}
-\helpref{wxList}{wxlist}\\
-\helpref{wxObject}{wxobject}
+None
+
+\wxheading{Include files}
+
+<wx/gdicmn.h>
\wxheading{Remarks}
Constructs the colour database.
+\membersection{wxColourDatabase::AddColour}\label{wxcolourdatabaseaddcolour}
+
+\func{void}{AddColour}{\param{const wxString\& }{colourName}, \param{wxColour* }{colour}}
+
+Adds a colour to the database. If a colour with the same name already exists,
+it is replaced.
+
\membersection{wxColourDatabase::FindColour}\label{wxcolourdatabasefindcolour}
\func{wxColour*}{FindColour}{\param{const wxString\& }{colourName}}