X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2edb0bdef6238c8c246b6978bc14828b7033d931..706f14210b7d782742b4fdbaea0adc25bdcced4d:/docs/latex/wx/calctrl.tex?ds=inline diff --git a/docs/latex/wx/calctrl.tex b/docs/latex/wx/calctrl.tex index a2a6ab8293..d13b88f1d5 100644 --- a/docs/latex/wx/calctrl.tex +++ b/docs/latex/wx/calctrl.tex @@ -145,7 +145,7 @@ Gets the currently selected date. \membersection{wxCalendarCtrl::EnableYearChange}\label{wxcalendarctrlenableyearchange} -\func{void}{EnableYearChange}{\param{bool }{enable = TRUE}} +\func{void}{EnableYearChange}{\param{bool }{enable = true}} This function should be used instead of changing {\tt wxCAL\_NO\_YEAR\_CHANGE} style bit directly. It allows or disallows the user to change the year @@ -153,7 +153,7 @@ interactively. \membersection{wxCalendarCtrl::EnableMonthChange}\label{wxcalendarctrlenablemonthchange} -\func{void}{EnableMonthChange}{\param{bool }{enable = TRUE}} +\func{void}{EnableMonthChange}{\param{bool }{enable = true}} This function should be used instead of changing {\tt wxCAL\_NO\_MONTH\_CHANGE} style bit. It allows or disallows the user to @@ -162,7 +162,7 @@ year can not be changed neither. \membersection{wxCalendarCtrl::EnableHolidayDisplay}\label{wxcalendarctrlenableholidaydisplay} -\func{void}{EnableHolidayDisplay}{\param{bool }{display = TRUE}} +\func{void}{EnableHolidayDisplay}{\param{bool }{display = true}} This function should be used instead of changing {\tt wxCAL\_SHOW\_HOLIDAYS} style bit directly. It enables or disables the special highlighting of the @@ -362,37 +362,37 @@ Display the date with this attribute as a holiday. \constfunc{bool}{HasTextColour}{\void} -Returns {\tt TRUE} if this item has a non default text foreground colour. +Returns {\tt true} if this item has a non default text foreground colour. \membersection{wxCalendarDateAttr::HasBackgroundColour}\label{wxcalendardateattrhasbackgroundcolour} \constfunc{bool}{HasBackgroundColour}{\void} -Returns {\tt TRUE} if this attribute specifies a non default text background colour. +Returns {\tt true} if this attribute specifies a non default text background colour. \membersection{wxCalendarDateAttr::HasBorderColour}\label{wxcalendardateattrhasbordercolour} \constfunc{bool}{HasBorderColour}{\void} -Returns {\tt TRUE} if this attribute specifies a non default border colour. +Returns {\tt true} if this attribute specifies a non default border colour. \membersection{wxCalendarDateAttr::HasFont}\label{wxcalendardateattrhasfont} \constfunc{bool}{HasFont}{\void} -Returns {\tt TRUE} if this attribute specifies a non default font. +Returns {\tt true} if this attribute specifies a non default font. \membersection{wxCalendarDateAttr::HasBorder}\label{wxcalendardateattrhasborder} \constfunc{bool}{HasBorder}{\void} -Returns {\tt TRUE} if this attribute specifies a non default (i.e. any) border. +Returns {\tt true} if this attribute specifies a non default (i.e. any) border. \membersection{wxCalendarDateAttr::IsHoliday}\label{wxcalendardateattrisholiday} \constfunc{bool}{IsHoliday}{\void} -Returns {\tt TRUE} if this attribute specifies that this item should be +Returns {\tt true} if this attribute specifies that this item should be displayed as a holiday. \membersection{wxCalendarDateAttr::GetTextColour}\label{wxcalendardateattrgettextcolour} @@ -451,3 +451,15 @@ Returns the week day on which the user clicked in {\tt EVT\_CALENDAR\_WEEKDAY\_CLICKED} handler. It doesn't make sense to call this function in other handlers. +\membersection{wxCalendarEvent::SetDate}{wxcalendareventsetdate} + +\func{void}{SetDate}{\param{const wxDateTime\&}{ date}} + +Sets the date. + +\membersection{wxCalendarEvent::SetWeekDay}{wxcalendareventsetweekday} + +\func{void}{SetWeekDay}{\param{wxDateTime::WeekDay}{ day}} + +Sets the week day. +