]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/calctrl.h
minor Unicode overview corrections
[wxWidgets.git] / interface / calctrl.h
index d0b92a1fb03373e8717d057700228125a4f1b2ef..397b4760ef73627783d755036866614a4b5cbe03 100644 (file)
@@ -221,32 +221,34 @@ enum wxCalendarHitTestResult
     @c EVT_CALENDAR_PAGE_CHANGED event handler.
 
     @beginStyleTable
-    @style{wxCAL_SUNDAY_FIRST}:
-           Show Sunday as the first day in the week (only generic)
-    @style{wxCAL_MONDAY_FIRST}:
-           Show Monday as the first day in the week (only generic)
-    @style{wxCAL_SHOW_HOLIDAYS}:
+    @style{wxCAL_SUNDAY_FIRST}
+           Show Sunday as the first day in the week (not in wxGTK)
+    @style{wxCAL_MONDAY_FIRST}
+           Show Monday as the first day in the week (not in wxGTK)
+    @style{wxCAL_SHOW_HOLIDAYS}
            Highlight holidays in the calendar (only generic)
-    @style{wxCAL_NO_YEAR_CHANGE}:
+    @style{wxCAL_NO_YEAR_CHANGE}
            Disable the year changing (deprecated, only generic)
-    @style{wxCAL_NO_MONTH_CHANGE}:
+    @style{wxCAL_NO_MONTH_CHANGE}
            Disable the month (and, implicitly, the year) changing
-    @style{wxCAL_SHOW_SURROUNDING_WEEKS}:
+    @style{wxCAL_SHOW_SURROUNDING_WEEKS}
            Show the neighbouring weeks in the previous and next months
-           (only generic)
-    @style{wxCAL_SEQUENTIAL_MONTH_SELECTION}:
+           (only generic, always on for the native controls)
+    @style{wxCAL_SEQUENTIAL_MONTH_SELECTION}
            Use alternative, more compact, style for the month and year
            selection controls. (only generic)
+    @style{wxCAL_SHOW_WEEK_NUMBERS}
+           Show week numbers on the left side of the calendar. (not in generic)
     @endStyleTable
 
     @beginEventTable{wxCalendarEvent}
-    @event{EVT_CALENDAR(id, func)}:
+    @event{EVT_CALENDAR(id, func)}
            A day was double clicked in the calendar.
-    @event{EVT_CALENDAR_SEL_CHANGED(id, func)}:
+    @event{EVT_CALENDAR_SEL_CHANGED(id, func)}
            The selected date changed.
-    @event{EVT_CALENDAR_PAGE_CHANGED(id, func)}:
+    @event{EVT_CALENDAR_PAGE_CHANGED(id, func)}
            The selected month (and/or year) changed.
-    @event{EVT_CALENDAR_WEEKDAY_CLICKED(id, func)}:
+    @event{EVT_CALENDAR_WEEKDAY_CLICKED(id, func)}
            User clicked on the week day header (only generic).
     @endEventTable
 
@@ -257,7 +259,7 @@ enum wxCalendarHitTestResult
     @category{ctrl}
     <!-- @appearance{calendarctrl.png} -->
 
-    @nativeimpl{wxgtk}
+    @nativeimpl{wxgtk,wxmsw}
 
     @see @ref page_samples_calendar, wxCalendarDateAttr, wxCalendarEvent,
          wxDatePickerCtrl
@@ -400,7 +402,9 @@ public:
     /**
         Returns one of wxCalendarHitTestResult constants and fills either
         @a date or @a wd pointer with the corresponding value depending on the
-        hit test code. Only in generic wxCalendarCtrl.
+        hit test code.
+        
+        Not implemented in wxGTK currently.
     */
     wxCalendarHitTestResult HitTest(const wxPoint& pos,
                                     wxDateTime* date = NULL,
@@ -421,6 +425,8 @@ public:
 
     /**
         Sets the current date.
+
+        The @a date parameter must be valid.
     */
     void SetDate(const wxDateTime& date);