]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/calctrl.tex
fixed crash in OnSize() handler
[wxWidgets.git] / docs / latex / wx / calctrl.tex
index 1142228f1fe33153dde878acea4a8bf1e222ce96..1b3f01f6af81ea9fa17970caba621275987b6eb4 100644 (file)
@@ -84,14 +84,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 +295,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}