]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/calctrl.tex
more LaTeX error fixes
[wxWidgets.git] / docs / latex / wx / calctrl.tex
CommitLineData
4f6aed9c
VZ
1%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2%% Name: calctrl.tex
3%% Purpose: wxCalendarCtrl documentation
4%% Author: Vadim Zeitlin
5%% Modified by:
6%% Created: 03.01.00
7%% RCS-ID: $Id$
8%% Copyright: (c) Vadim Zeitlin
8795498c 9%% License: wxWindows license
4f6aed9c
VZ
10%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11
12\section{\class{wxCalendarCtrl}}\label{wxcalendarctrl}
13
dceb1c09
JS
14The calendar control allows the user to pick a date. For this,
15it displays a window containing several parts: a control at the top to pick the month
16and the year (either or both of them may be disabled), and a month
f6bcfd97
BP
17area below them which shows all the days in the month. The user can move the
18current selection using the keyboard and select the date (generating
19{\tt EVT\_CALENDAR} event) by pressing {\tt <Return>} or double clicking it.
20
21It has advanced possibilities for the customization of its display. All global
22settings (such as colours and fonts used) can, of course, be changed. But
23also, the display style for each day in the month can be set independently
24using \helpref{wxCalendarDateAttr}{wxcalendardateattr} class.
25
26An item without custom attributes is drawn with the default colours and
27font and without border, but setting custom attributes with
28\helpref{SetAttr}{wxcalendarctrlsetattr} allows to modify its appearance. Just
29create a custom attribute object and set it for the day you want to be
30displayed specially (note that the control will take ownership of the pointer,
31i.e. it will delete it itself). A day may be marked as being a holiday, even
2edb0bde 32if it is not recognized as one by \helpref{wxDateTime}{tdateholidays} using
f6bcfd97
BP
33\helpref{SetHoliday}{wxcalendardateattrsetholiday} method.
34
35As the attributes are specified for each day, they may change when the month
36is changed, so you will often want to update them in
37{\tt EVT\_CALENDAR\_MONTH} event handler.
38
39\wxheading{Derived from}
40
41\helpref{wxControl}{wxcontrol}\\
42\helpref{wxWindow}{wxwindow}\\
43\helpref{wxEvtHandler}{wxevthandler}\\
44\helpref{wxObject}{wxobject}
4f6aed9c
VZ
45
46\wxheading{Include files}
47
48<wx/calctrl.h>
49
a7af285d
VZ
50\wxheading{Library}
51
52\helpref{wxAdv}{librarieslist}
53
f6bcfd97
BP
54\wxheading{Window styles}
55
56\twocolwidtha{5cm}
57\begin{twocollist}\itemsep=4pt
58\twocolitem{\windowstyle{wxCAL\_SUNDAY\_FIRST}}{Show Sunday as the first day in the week}
59\twocolitem{\windowstyle{wxCAL\_MONDAY\_FIRST}}{Show Monday as the first day in the week}
60\twocolitem{\windowstyle{wxCAL\_SHOW\_HOLIDAYS}}{Highlight holidays in the calendar}
61\twocolitem{\windowstyle{wxCAL\_NO\_YEAR\_CHANGE}}{Disable the year changing}
62\twocolitem{\windowstyle{wxCAL\_NO\_MONTH\_CHANGE}}{Disable the month (and, implicitly, the year) changing}
37df1f33
VZ
63\twocolitem{\windowstyle{wxCAL\_SHOW\_SURROUNDING\_WEEKS}}{Show the neighbouring weeks in the previous and next months}
64\twocolitem{\windowstyle{wxCAL\_SEQUENTIAL\_MONTH\_SELECTION}}{Use alternative, more compact, style for the month and year selection controls.}
f6bcfd97
BP
65\end{twocollist}
66
67The default calendar style is {\tt wxCAL\_SHOW\_HOLIDAYS}.
68
69\wxheading{Event table macros}
70
71To process input from a calendar control, use these event handler macros to
72direct input to member functions that take a
73\helpref{wxCalendarEvent}{wxcalendarevent} argument.
74
75\twocolwidtha{7cm}
76\begin{twocollist}\itemsep=7pt
2edb0bde 77\twocolitem{{\bf EVT\_CALENDAR(id, func)}}{A day was double clicked in the calendar.}
f6bcfd97
BP
78\twocolitem{{\bf EVT\_CALENDAR\_SEL\_CHANGED(id, func)}}{The selected date changed.}
79\twocolitem{{\bf EVT\_CALENDAR\_DAY(id, func)}}{The selected day changed.}
80\twocolitem{{\bf EVT\_CALENDAR\_MONTH(id, func)}}{The selected month changed.}
81\twocolitem{{\bf EVT\_CALENDAR\_YEAR(id, func)}}{The selected year changed.}
82\twocolitem{{\bf EVT\_CALENDAR\_WEEKDAY\_CLICKED(id, func)}}{User clicked on the week day header}
83\end{twocollist}%
84
85Note that changing the selected date will result in either of
86{\tt EVT\_CALENDAR\_DAY}, {\tt MONTH} or {\tt YEAR} events and
87{\tt EVT\_CALENDAR\_SEL\_CHANGED} one.
88
89\wxheading{Constants}
90
91The following are the possible return values for
92\helpref{HitTest}{wxcalendarctrlhittest} method:
a3dafe87 93
6aa358ae 94{\small
a3dafe87 95\begin{verbatim}
f6bcfd97 96enum wxCalendarHitTestResult
6aa358ae 97{
f6bcfd97
BP
98 wxCAL_HITTEST_NOWHERE, // outside of anything
99 wxCAL_HITTEST_HEADER, // on the header (weekdays)
100 wxCAL_HITTEST_DAY // on a day in the calendar
6aa358ae 101}
a3dafe87 102\end{verbatim}
6aa358ae 103}
f6bcfd97
BP
104
105\wxheading{See also}
106
107\helpref{Calendar sample}{samplecalendar}\\
108\helpref{wxCalendarDateAttr}{wxcalendardateattr}\\
109\helpref{wxCalendarEvent}{wxcalendarevent}
110
111\latexignore{\rtfignore{\wxheading{Members}}}
112
feb72429 113
f6bcfd97
BP
114\membersection{wxCalendarCtrl::wxCalendarCtrl}\label{wxcalendarctrlwxcalendarctrldef}
115
116\func{}{wxCalendarCtrl}{\void}
117
118Default constructor, use \helpref{Create}{wxcalendarctrlcreate} after it.
119
f6bcfd97
BP
120\func{}{wxCalendarCtrl}{\param{wxWindow* }{parent}, \param{wxWindowID }{id}, \param{const wxDateTime\& }{date = wxDefaultDateTime}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{long }{style = wxCAL\_SHOW\_HOLIDAYS}, \param{const wxString\& }{name = wxCalendarNameStr}}
121
122Does the same as \helpref{Create}{wxcalendarctrlcreate} method.
123
feb72429 124
f6bcfd97
BP
125\membersection{wxCalendarCtrl::Create}\label{wxcalendarctrlcreate}
126
127\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID }{id}, \param{const wxDateTime\& }{date = wxDefaultDateTime}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{long }{style = wxCAL\_SHOW\_HOLIDAYS}, \param{const wxString\& }{name = wxCalendarNameStr}}
128
129Creates the control. See \helpref{wxWindow}{wxwindowctor} for the meaning of
130the parameters and the control overview for the possible styles.
131
feb72429 132
f6bcfd97
BP
133\membersection{wxCalendarCtrl::\destruct{wxCalendarCtrl}}\label{wxcalendarctrldtor}
134
135\func{}{\destruct{wxCalendarCtrl}}{\void}
136
137Destroys the control.
138
feb72429 139
f6bcfd97
BP
140\membersection{wxCalendarCtrl::SetDate}\label{wxcalendarctrlsetdate}
141
142\func{void}{SetDate}{\param{const wxDateTime\& }{date}}
143
144Sets the current date.
145
feb72429 146
f6bcfd97
BP
147\membersection{wxCalendarCtrl::GetDate}\label{wxcalendarctrlgetdate}
148
149\constfunc{const wxDateTime\&}{GetDate}{\void}
150
151Gets the currently selected date.
152
feb72429 153
f6bcfd97
BP
154\membersection{wxCalendarCtrl::EnableYearChange}\label{wxcalendarctrlenableyearchange}
155
cc81d32f 156\func{void}{EnableYearChange}{\param{bool }{enable = true}}
f6bcfd97
BP
157
158This function should be used instead of changing {\tt wxCAL\_NO\_YEAR\_CHANGE}
2edb0bde 159style bit directly. It allows or disallows the user to change the year
f6bcfd97
BP
160interactively.
161
feb72429 162
f6bcfd97
BP
163\membersection{wxCalendarCtrl::EnableMonthChange}\label{wxcalendarctrlenablemonthchange}
164
cc81d32f 165\func{void}{EnableMonthChange}{\param{bool }{enable = true}}
f6bcfd97
BP
166
167This function should be used instead of changing
168{\tt wxCAL\_NO\_MONTH\_CHANGE} style bit. It allows or disallows the user to
169change the month interactively. Note that if the month can not be changed, the
170year can not be changed neither.
171
feb72429 172
f6bcfd97
BP
173\membersection{wxCalendarCtrl::EnableHolidayDisplay}\label{wxcalendarctrlenableholidaydisplay}
174
cc81d32f 175\func{void}{EnableHolidayDisplay}{\param{bool }{display = true}}
f6bcfd97
BP
176
177This function should be used instead of changing {\tt wxCAL\_SHOW\_HOLIDAYS}
178style bit directly. It enables or disables the special highlighting of the
179holidays.
180
feb72429 181
f6bcfd97
BP
182\membersection{wxCalendarCtrl::SetHeaderColours}\label{wxcalendarctrlsetheadercolours}
183
184\func{void}{SetHeaderColours}{\param{const wxColour\& }{colFg}, \param{const wxColour\& }{colBg}}
185
186Set the colours used for painting the weekdays at the top of the control.
187
feb72429 188
f6bcfd97
BP
189\membersection{wxCalendarCtrl::GetHeaderColourFg}\label{wxcalendarctrlgetheadercolourfg}
190
191\constfunc{const wxColour\&}{GetHeaderColourFg}{\void}
192
193Gets the foreground colour of the header part of the calendar window.
194
195\wxheading{See also}
196
197\helpref{SetHeaderColours}{wxcalendarctrlsetheadercolours}
198
feb72429 199
f6bcfd97
BP
200\membersection{wxCalendarCtrl::GetHeaderColourBg}\label{wxcalendarctrlgetheadercolourbg}
201
202\constfunc{const wxColour\&}{GetHeaderColourBg}{\void}
203
204Gets the background colour of the header part of the calendar window.
205
206\wxheading{See also}
207
208\helpref{SetHeaderColours}{wxcalendarctrlsetheadercolours}
209
feb72429 210
f6bcfd97
BP
211\membersection{wxCalendarCtrl::SetHighlightColours}\label{wxcalendarctrlsethighlightcolours}
212
213\func{void}{SetHighlightColours}{\param{const wxColour\& }{colFg}, \param{const wxColour\& }{colBg}}
214
215Set the colours to be used for highlighting the currently selected date.
216
feb72429 217
f6bcfd97
BP
218\membersection{wxCalendarCtrl::GetHighlightColourFg}\label{wxcalendarctrlgethighlightcolourfg}
219
220\constfunc{const wxColour\&}{GetHighlightColourFg}{\void}
221
222Gets the foreground highlight colour.
223
224\wxheading{See also}
225
226\helpref{SetHighlightColours}{wxcalendarctrlsethighlightcolours}
227
feb72429 228
f6bcfd97
BP
229\membersection{wxCalendarCtrl::GetHighlightColourBg}\label{wxcalendarctrlgethighlightcolourbg}
230
231\constfunc{const wxColour\&}{GetHighlightColourBg}{\void}
232
233Gets the background highlight colour.
234
235\wxheading{See also}
236
237\helpref{SetHighlightColours}{wxcalendarctrlsethighlightcolours}
238
feb72429 239
f6bcfd97
BP
240\membersection{wxCalendarCtrl::SetHolidayColours}\label{wxcalendarctrlsetholidaycolours}
241
242\func{void}{SetHolidayColours}{\param{const wxColour\& }{colFg}, \param{const wxColour\& }{colBg}}
243
244Sets the colours to be used for the holidays highlighting (only used if the
245window style includes {\tt wxCAL\_SHOW\_HOLIDAYS} flag).
246
feb72429 247
f6bcfd97
BP
248\membersection{wxCalendarCtrl::GetHolidayColourFg}\label{wxcalendarctrlgetholidaycolourfg}
249
250\constfunc{const wxColour\&}{GetHolidayColourFg}{\void}
251
2edb0bde 252Return the foreground colour currently used for holiday highlighting.
f6bcfd97
BP
253
254\wxheading{See also}
255
256\helpref{SetHolidayColours}{wxcalendarctrlsetholidaycolours}
257
feb72429 258
f6bcfd97
BP
259\membersection{wxCalendarCtrl::GetHolidayColourBg}\label{wxcalendarctrlgetholidaycolourbg}
260
261\constfunc{const wxColour\&}{GetHolidayColourBg}{\void}
262
263Return the background colour currently used for holiday highlighting.
264
265\wxheading{See also}
266
267\helpref{SetHolidayColours}{wxcalendarctrlsetholidaycolours}
268
feb72429 269
f6bcfd97
BP
270\membersection{wxCalendarCtrl::GetAttr}\label{wxcalendarctrlgetattr}
271
272\constfunc{wxCalendarDateAttr *}{GetAttr}{\param{size\_t }{day}}
273
274Returns the attribute for the given date (should be in the range $1\ldots31$).
275
276The returned pointer may be {\tt NULL}.
277
feb72429 278
f6bcfd97
BP
279\membersection{wxCalendarCtrl::SetAttr}\label{wxcalendarctrlsetattr}
280
281\func{void}{SetAttr}{\param{size\_t }{day}, \param{wxCalendarDateAttr* }{attr}}
282
283Associates the attribute with the specified date (in the range $1\ldots31$).
284
285If the pointer is {\tt NULL}, the items attribute is cleared.
286
feb72429 287
f6bcfd97
BP
288\membersection{wxCalendarCtrl::SetHoliday}\label{wxcalendarctrlsetholiday}
289
290\func{void}{SetHoliday}{\param{size\_t }{day}}
291
292Marks the specified day as being a holiday in the current month.
293
feb72429 294
f6bcfd97
BP
295\membersection{wxCalendarCtrl::ResetAttr}\label{wxcalendarctrlresetattr}
296
297\func{void}{ResetAttr}{\param{size\_t }{day}}
298
299Clears any attributes associated with the given day (in the range
300$1\ldots31$).
301
feb72429 302
f6bcfd97
BP
303\membersection{wxCalendarCtrl::HitTest}\label{wxcalendarctrlhittest}
304
305\func{wxCalendarHitTestResult}{HitTest}{\param{const wxPoint\& }{pos}, \param{wxDateTime* }{date = NULL}, \param{wxDateTime::WeekDay* }{wd = NULL}}
306
307Returns one of {\tt wxCAL\_HITTEST\_XXX}
308\helpref{constants}{wxcalendarctrl} and fills either {\it date} or
309{\it wd} pointer with the corresponding value depending on the hit test code.
310
311\section{\class{wxCalendarDateAttr}}\label{wxcalendardateattr}
312
313wxCalendarDateAttr is a custom attributes for a calendar date. The objects of
314this class are used with \helpref{wxCalendarCtrl}{wxcalendarctrl}.
315
316\wxheading{Derived from}
317
318No base class
319
320\wxheading{Constants}
321
322Here are the possible kinds of borders which may be used to decorate a date:
323
a3dafe87 324\begin{verbatim}
f6bcfd97
BP
325enum wxCalendarDateBorder
326{
6aa358ae
GT
327 wxCAL_BORDER_NONE, // no border (default)
328 wxCAL_BORDER_SQUARE, // a rectangular border
329 wxCAL_BORDER_ROUND // a round border
f6bcfd97 330}
a3dafe87 331\end{verbatim}
f6bcfd97
BP
332
333\wxheading{See also}
334
335\helpref{wxCalendarCtrl}{wxcalendarctrl}
336
0e10e38d
VZ
337\wxheading{Include files}
338
339<wx/calctrl.h>
340
a7af285d
VZ
341\wxheading{Library}
342
343\helpref{wxAdv}{librarieslist}
344
f6bcfd97
BP
345\latexignore{\rtfignore{\wxheading{Members}}}
346
feb72429 347
f6bcfd97
BP
348\membersection{wxCalendarDateAttr::wxCalendarDateAttr}\label{wxcalendardateattrwxcalendardateattr}
349
350\func{}{wxCalendarDateAttr}{\void}
351
352\func{}{wxCalendarDateAttr}{\param{const wxColour\& }{colText}, \param{const wxColour\& }{colBack = wxNullColour}, \param{const wxColour\& }{colBorder = wxNullColour}, \param{const wxFont\& }{font = wxNullFont}, \param{wxCalendarDateBorder }{border = wxCAL\_BORDER\_NONE}}
353
354\func{}{wxCalendarDateAttr}{\param{wxCalendarDateBorder }{border}, \param{const wxColour\& }{colBorder = wxNullColour}}
355
356The constructors.
357
feb72429 358
f6bcfd97
BP
359\membersection{wxCalendarDateAttr::SetTextColour}\label{wxcalendardateattrsettextcolour}
360
361\func{void}{SetTextColour}{\param{const wxColour\& }{colText}}
362
363Sets the text (foreground) colour to use.
364
feb72429 365
f6bcfd97
BP
366\membersection{wxCalendarDateAttr::SetBackgroundColour}\label{wxcalendardateattrsetbackgroundcolour}
367
368\func{void}{SetBackgroundColour}{\param{const wxColour\& }{colBack}}
369
370Sets the text background colour to use.
371
feb72429 372
f6bcfd97
BP
373\membersection{wxCalendarDateAttr::SetBorderColour}\label{wxcalendardateattrsetbordercolour}
374
375\func{void}{SetBorderColour}{\param{const wxColour\& }{col}}
376
377Sets the border colour to use.
378
feb72429 379
f6bcfd97
BP
380\membersection{wxCalendarDateAttr::SetFont}\label{wxcalendardateattrsetfont}
381
382\func{void}{SetFont}{\param{const wxFont\& }{font}}
383
384Sets the font to use.
385
feb72429 386
f6bcfd97
BP
387\membersection{wxCalendarDateAttr::SetBorder}\label{wxcalendardateattrsetborder}
388
389\func{void}{SetBorder}{\param{wxCalendarDateBorder }{border}}
390
391Sets the \helpref{border kind}{wxcalendardateattr}
392
feb72429 393
f6bcfd97
BP
394\membersection{wxCalendarDateAttr::SetHoliday}\label{wxcalendardateattrsetholiday}
395
396\func{void}{SetHoliday}{\param{bool }{holiday}}
397
398Display the date with this attribute as a holiday.
399
feb72429 400
f6bcfd97
BP
401\membersection{wxCalendarDateAttr::HasTextColour}\label{wxcalendardateattrhastextcolour}
402
403\constfunc{bool}{HasTextColour}{\void}
404
154b6b0f 405Returns {\tt true} if this item has a non-default text foreground colour.
f6bcfd97 406
feb72429 407
f6bcfd97
BP
408\membersection{wxCalendarDateAttr::HasBackgroundColour}\label{wxcalendardateattrhasbackgroundcolour}
409
410\constfunc{bool}{HasBackgroundColour}{\void}
411
154b6b0f 412Returns {\tt true} if this attribute specifies a non-default text background colour.
f6bcfd97 413
feb72429 414
f6bcfd97
BP
415\membersection{wxCalendarDateAttr::HasBorderColour}\label{wxcalendardateattrhasbordercolour}
416
417\constfunc{bool}{HasBorderColour}{\void}
418
154b6b0f 419Returns {\tt true} if this attribute specifies a non-default border colour.
f6bcfd97 420
feb72429 421
f6bcfd97
BP
422\membersection{wxCalendarDateAttr::HasFont}\label{wxcalendardateattrhasfont}
423
424\constfunc{bool}{HasFont}{\void}
425
154b6b0f 426Returns {\tt true} if this attribute specifies a non-default font.
f6bcfd97 427
feb72429 428
f6bcfd97
BP
429\membersection{wxCalendarDateAttr::HasBorder}\label{wxcalendardateattrhasborder}
430
431\constfunc{bool}{HasBorder}{\void}
432
154b6b0f 433Returns {\tt true} if this attribute specifies a non-default (i.e. any) border.
f6bcfd97 434
feb72429 435
f6bcfd97
BP
436\membersection{wxCalendarDateAttr::IsHoliday}\label{wxcalendardateattrisholiday}
437
438\constfunc{bool}{IsHoliday}{\void}
439
cc81d32f 440Returns {\tt true} if this attribute specifies that this item should be
f6bcfd97
BP
441displayed as a holiday.
442
feb72429 443
f6bcfd97
BP
444\membersection{wxCalendarDateAttr::GetTextColour}\label{wxcalendardateattrgettextcolour}
445
446\constfunc{const wxColour\&}{GetTextColour}{\void}
447
448Returns the text colour to use for the item with this attribute.
449
feb72429 450
f6bcfd97
BP
451\membersection{wxCalendarDateAttr::GetBackgroundColour}\label{wxcalendardateattrgetbackgroundcolour}
452
453\constfunc{const wxColour\&}{GetBackgroundColour}{\void}
454
455Returns the background colour to use for the item with this attribute.
456
feb72429 457
f6bcfd97
BP
458\membersection{wxCalendarDateAttr::GetBorderColour}\label{wxcalendardateattrgetbordercolour}
459
460\constfunc{const wxColour\&}{GetBorderColour}{\void}
461
462Returns the border colour to use for the item with this attribute.
463
feb72429 464
f6bcfd97
BP
465\membersection{wxCalendarDateAttr::GetFont}\label{wxcalendardateattrgetfont}
466
467\constfunc{const wxFont\&}{GetFont}{\void}
468
469Returns the font to use for the item with this attribute.
470
feb72429 471
f6bcfd97
BP
472\membersection{wxCalendarDateAttr::GetBorder}\label{wxcalendardateattrgetborder}
473
474\constfunc{wxCalendarDateBorder}{GetBorder}{\void}
475
476Returns the \helpref{border}{wxcalendardateattr} to use for the item with this attribute.
477
feb72429
VZ
478
479%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
480
f6bcfd97
BP
481\section{\class{wxCalendarEvent}}\label{wxcalendarevent}
482
483The wxCalendarEvent class is used together with
484\helpref{wxCalendarCtrl}{wxcalendarctrl}.
485
feb72429
VZ
486\wxheading{Derived from}
487
488\helpref{wxDateEvent}{wxdateevent}\\
489\helpref{wxCommandEvent}{wxcommandevent}\\
490\helpref{wxEvent}{wxevent}\\
491\helpref{wxObject}{wxobject}
492
493\wxheading{Include files}
494
495<wx/calctrl.h>
496
a7af285d
VZ
497\wxheading{Library}
498
499\helpref{wxAdv}{librarieslist}
500
f6bcfd97
BP
501\wxheading{See also}
502
503\helpref{wxCalendarCtrl}{wxcalendarctrl}
504
505\latexignore{\rtfignore{\wxheading{Members}}}
506
f6bcfd97 507
f510b7b2 508\membersection{wxCalendarEvent::GetWeekDay}\label{wxcalendareventgetweekday}
f6bcfd97
BP
509
510\constfunc{wxDateTime::WeekDay}{GetWeekDay}{\void}
4f6aed9c 511
f6bcfd97
BP
512Returns the week day on which the user clicked in
513{\tt EVT\_CALENDAR\_WEEKDAY\_CLICKED} handler. It doesn't make sense to call
514this function in other handlers.
457e6c54 515
12ac619f 516
f510b7b2 517\membersection{wxCalendarEvent::SetWeekDay}\label{wxcalendareventsetweekday}
12ac619f
JS
518
519\func{void}{SetWeekDay}{\param{wxDateTime::WeekDay}{ day}}
520
feb72429
VZ
521Sets the week day carried by the event, normally only used by the library
522internally.
12ac619f 523