Correct the order of parameters in the wxDateTime::SetToWeekDay examples

e.g. "For example, SetToWeekDay(wxDateTime::Wed, 2)"
not  "For example, SetToWeekDay(2, wxDateTime::Wed)"
This commit is contained in:
dghart 2019-01-26 20:55:20 +00:00
parent c68e5d0617
commit 2716347f17

View File

@ -1161,9 +1161,9 @@ public:
@a n may be either positive (counting from the beginning of the month) @a n may be either positive (counting from the beginning of the month)
or negative (counting from the end of it). or negative (counting from the end of it).
For example, SetToWeekDay(2, wxDateTime::Wed) will set the date to the For example, SetToWeekDay(wxDateTime::Wed, 2) will set the date to the
second Wednesday in the current month and second Wednesday in the current month and
SetToWeekDay(-1, wxDateTime::Sun) will set the date to the last Sunday SetToWeekDay(wxDateTime::Sun, -1) will set the date to the last Sunday
in the current month. in the current month.
@return @true if the date was modified successfully, @false otherwise @return @true if the date was modified successfully, @false otherwise