\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}.
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}
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}