\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
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}
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}
\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.
\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.
\helpref{wxList}{wxlist}\\
\helpref{wxObject}{wxobject}
+\wxheading{Include files}
+
+<wx/gdicmn.h>
+
\wxheading{Remarks}
The colours in the standard database are as follows: