@{
*/
#define wxC2S_NAME 1 //!< Return colour name, when possible.
-#define wxC2S_CSS_SYNTAX 2 //!< Return colour in rgb(r,g,b) syntax.
-#define wxC2S_HTML_SYNTAX 4 //!< Return colour in #rrggbb syntax.
+#define wxC2S_CSS_SYNTAX 2 //!< Return colour in "rgb(r,g,b)" syntax.
+#define wxC2S_HTML_SYNTAX 4 //!< Return colour in "#rrggbb" syntax.
//@}
- ::wxBLUE
- ::wxCYAN
- ::wxGREEN
+ - ::wxYELLOW
- ::wxLIGHT_GREY
- ::wxRED
- ::wxWHITE
Returns @true if the colour object is valid (the colour has been initialised
with RGB values).
*/
- bool IsOk() const;
+ virtual bool IsOk() const;
/**
Returns the red intensity.
*/
bool operator !=(const wxColour& colour) const;
- //@{
/**
Assignment operator, using a colour name to be found in the colour database.
@see wxColourDatabase
*/
- wxColour operator =(const wxColour& colour);
- wxColour operator =(const wxString& colourName);
- //@}
+ wxColour& operator=(const wxColour& colour);
/**
Tests the equality of two colours by comparing individual red, green, blue
wxColour* wxBLUE;
wxColour* wxCYAN;
wxColour* wxGREEN;
+wxColour* wxYELLOW;
wxColour* wxLIGHT_GREY;
wxColour* wxRED;
wxColour* wxWHITE;
// Global functions/macros
// ============================================================================
-/** @ingroup group_funcmacro_misc */
+/** @addtogroup group_funcmacro_misc */
//@{
/**