X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3dafe878440adc1f09d6d0eed8670ee290bc2e5..8dba8632c5bcd64724e2e9e2d40e295555a0cb86:/docs/latex/wx/calctrl.tex diff --git a/docs/latex/wx/calctrl.tex b/docs/latex/wx/calctrl.tex index 1c223d58b1..c0041ca7d8 100644 --- a/docs/latex/wx/calctrl.tex +++ b/docs/latex/wx/calctrl.tex @@ -56,6 +56,8 @@ is changed, so you will often want to update them in \twocolitem{\windowstyle{wxCAL\_SHOW\_HOLIDAYS}}{Highlight holidays in the calendar} \twocolitem{\windowstyle{wxCAL\_NO\_YEAR\_CHANGE}}{Disable the year changing} \twocolitem{\windowstyle{wxCAL\_NO\_MONTH\_CHANGE}}{Disable the month (and, implicitly, the year) changing} +\twocolitem{\windowstyle{wxCAL\_SHOW\_SURROUNDING\_WEEKS}}{Show the neighbouring weeks in the previous and next months} +\twocolitem{\windowstyle{wxCAL\_SEQUENTIAL\_MONTH\_SELECTION}}{Use alternative, more compact, style for the month and year selection controls.} \end{twocollist} The default calendar style is {\tt wxCAL\_SHOW\_HOLIDAYS}. @@ -85,14 +87,16 @@ Note that changing the selected date will result in either of The following are the possible return values for \helpref{HitTest}{wxcalendarctrlhittest} method: +{\small \begin{verbatim} enum wxCalendarHitTestResult -\{ +{ wxCAL_HITTEST_NOWHERE, // outside of anything wxCAL_HITTEST_HEADER, // on the header (weekdays) wxCAL_HITTEST_DAY // on a day in the calendar -\}; +} \end{verbatim} +} \wxheading{See also} @@ -296,9 +300,9 @@ Here are the possible kinds of borders which may be used to decorate a date: \begin{verbatim} enum wxCalendarDateBorder { - wxCAL\_BORDER\_NONE, // no border (default) - wxCAL\_BORDER\_SQUARE, // a rectangular border - wxCAL\_BORDER\_ROUND // a round border + wxCAL_BORDER_NONE, // no border (default) + wxCAL_BORDER_SQUARE, // a rectangular border + wxCAL_BORDER_ROUND // a round border } \end{verbatim}