X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2edb0bdef6238c8c246b6978bc14828b7033d931..68d411dc5724b9284455a31ef8a8d6d99c18d224:/docs/latex/wx/calctrl.tex diff --git a/docs/latex/wx/calctrl.tex b/docs/latex/wx/calctrl.tex index a2a6ab8293..3a08e5fbe9 100644 --- a/docs/latex/wx/calctrl.tex +++ b/docs/latex/wx/calctrl.tex @@ -6,7 +6,7 @@ %% Created: 03.01.00 %% RCS-ID: $Id$ %% Copyright: (c) Vadim Zeitlin -%% License: wxWindows license +%% License: wxWidgets license %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{\class{wxCalendarCtrl}}\label{wxcalendarctrl} @@ -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} @@ -436,14 +436,14 @@ The wxCalendarEvent class is used together with \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxCalendarEvent::GetDate}{wxcalendareventgetdate} +\membersection{wxCalendarEvent::GetDate}\label{wxcalendareventgetdate} \constfunc{const wxDateTime\&}{GetDate}{\void} Returns the date. This function may be called for all event types except {\tt EVT\_CALENDAR\_WEEKDAY\_CLICKED} one for which it doesn't make sense. -\membersection{wxCalendarEvent::GetWeekDay}{wxcalendareventgetweekday} +\membersection{wxCalendarEvent::GetWeekDay}\label{wxcalendareventgetweekday} \constfunc{wxDateTime::WeekDay}{GetWeekDay}{\void} @@ -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}\label{wxcalendareventsetdate} + +\func{void}{SetDate}{\param{const wxDateTime\&}{ date}} + +Sets the date. + +\membersection{wxCalendarEvent::SetWeekDay}\label{wxcalendareventsetweekday} + +\func{void}{SetWeekDay}{\param{wxDateTime::WeekDay}{ day}} + +Sets the week day. +