]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/calctrl.h
Patch from Utensil Candel with large improvements to the samples documentation, and...
[wxWidgets.git] / interface / calctrl.h
index 9869e33a7f7488e7452cf839c16f71482b9b328b..397b4760ef73627783d755036866614a4b5cbe03 100644 (file)
@@ -221,32 +221,34 @@ enum wxCalendarHitTestResult
     @c EVT_CALENDAR_PAGE_CHANGED event handler.
 
     @beginStyleTable
-    @style{wxCAL_SUNDAY_FIRST}:
+    @style{wxCAL_SUNDAY_FIRST}
            Show Sunday as the first day in the week (not in wxGTK)
-    @style{wxCAL_MONDAY_FIRST}:
+    @style{wxCAL_MONDAY_FIRST}
            Show Monday as the first day in the week (not in wxGTK)
-    @style{wxCAL_SHOW_HOLIDAYS}:
+    @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, always on for the native controls)
-    @style{wxCAL_SEQUENTIAL_MONTH_SELECTION}:
+    @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