.\" This is a wxWidgets manpage page generated from the XML docs .TH wxCalendarDateAttr 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxCalendarDateAttr \- Used with wxCalendarCtrl .SH DESCRIPTION wxCalendarDateAttr is a custom attributes for a calendar date. The objects of this class are used with wxCalendarCtrl . .SH "PARENTS" .SH "INCLUDE FILES" wx/calctrl.h .SH MEMBERS .SS wxCalendarDateAttr () .SS wxCalendarDateAttr (const wxColour& colTextconst wxColour& colBack = wxNullColourconst wxColour& colBorder = wxNullColourconst wxFont& font = wxNullFontwxCalendarDateBorder border = wxCAL_BORDER_NONE) .SS wxCalendarDateAttr (wxCalendarDateBorder borderconst wxColour& colBorder = wxNullColour) The constructors. .SS void SetTextColour (const wxColour& colText) Sets the text (foreground) colour to use. .SS void SetBackgroundColour (const wxColour& colBack) Sets the text background colour to use. .SS void SetBorderColour (const wxColour& col) Sets the border colour to use. .SS void SetFont (const wxFont& font) Sets the font to use. .SS void SetBorder (wxCalendarDateBorder border) Sets the border kind .SS void SetHoliday (bool holiday) Display the date with this attribute as a holiday. .SS bool HasTextColour () Returns true if this item has a non default text foreground colour. .SS bool HasBackgroundColour () Returns true if this attribute specifies a non default text background colour. .SS bool HasBorderColour () Returns true if this attribute specifies a non default border colour. .SS bool HasFont () Returns true if this attribute specifies a non default font. .SS bool HasBorder () Returns true if this attribute specifies a non default (i.e. any) border. .SS bool IsHoliday () Returns true if this attribute specifies that this item should be displayed as a holiday. .SS const wxColour& GetTextColour () Returns the text colour to use for the item with this attribute. .SS const wxColour& GetBackgroundColour () Returns the background colour to use for the item with this attribute. .SS const wxColour& GetBorderColour () Returns the border colour to use for the item with this attribute. .SS const wxFont& GetFont () Returns the font to use for the item with this attribute. .SS wxCalendarDateBorder GetBorder () Returns the border to use for the item with this attribute. .SH "SEE ALSO" wxCalendarCtrl .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.