changed wxColourData default palette to NULL colours instead of white
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -27,7 +27,11 @@ This class represents the colour chooser dialog.
|
||||
\func{}{wxColourDialog}{\param{wxWindow* }{parent}, \param{wxColourData* }{data = NULL}}
|
||||
|
||||
Constructor. Pass a parent window, and optionally a pointer to a block of colour
|
||||
data, which will be copied to the colour dialog's colour data.
|
||||
data, which will be copied to the colour dialog's colour data. Custom
|
||||
colours from colour data object will be be used in dialog's colour palette.
|
||||
Invalid entries in custom colours list will be ignored on some platforms (GTK)
|
||||
or replaced with white colour on platforms where custom colours palette has
|
||||
fixed size (MSW).
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
|
@@ -181,7 +181,8 @@ This class holds a variety of information related to colour dialogs.
|
||||
|
||||
\func{}{wxColourData}{\void}
|
||||
|
||||
Constructor. Initializes the custom colours to white, the {\it data colour} setting
|
||||
Constructor. Initializes the custom colours to {\tt wxNullColour},
|
||||
the {\it data colour} setting
|
||||
to black, and the {\it choose full} setting to true.
|
||||
|
||||
|
||||
@@ -218,7 +219,7 @@ The default colour is black.
|
||||
Gets the {\it i}th custom colour associated with the colour dialog. {\it i} should
|
||||
be an integer between 0 and 15.
|
||||
|
||||
The default custom colours are all white.
|
||||
The default custom colours are invalid colours.
|
||||
|
||||
|
||||
\membersection{wxColourData::SetChooseFull}\label{wxcolourdatasetchoosefull}
|
||||
@@ -247,7 +248,7 @@ The default colour is black.
|
||||
Sets the {\it i}th custom colour for the colour dialog. {\it i} should
|
||||
be an integer between 0 and 15.
|
||||
|
||||
The default custom colours are all white.
|
||||
The default custom colours are invalid colours.
|
||||
|
||||
|
||||
\membersection{wxColourData::operator $=$}\label{wxcolourdataassign}
|
||||
|
Reference in New Issue
Block a user