X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..f6ed38239c20927281363f3828323e05b4917c0e:/docs/latex/wx/calctrl.tex diff --git a/docs/latex/wx/calctrl.tex b/docs/latex/wx/calctrl.tex index 1142228f1f..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}. @@ -84,14 +86,17 @@ 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} + +{\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}} +} +\end{verbatim} +} \wxheading{See also} @@ -292,14 +297,14 @@ No base class Here are the possible kinds of borders which may be used to decorate a date: -{\small \begin{verbatim} +\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}} +\end{verbatim} \wxheading{See also}