Clarify what happens if the wxDateTime::SetToWeekDay month and/or year parameters are left as the default Inv_Month/Inv_Year
This causes the month and/or year being set to their wxDateTime::Now values, even if the original values in the wxDateTime object were valid.
This commit is contained in:
@@ -1166,6 +1166,10 @@ public:
|
|||||||
SetToWeekDay(wxDateTime::Sun, -1) 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.
|
||||||
|
|
||||||
|
Note that leaving the month or year parameters as their default values
|
||||||
|
will result in the current month or year being substituted, overwriting
|
||||||
|
any previous values in the wxDateTime object.
|
||||||
|
|
||||||
@return @true if the date was modified successfully, @false otherwise
|
@return @true if the date was modified successfully, @false otherwise
|
||||||
meaning that the specified date doesn't exist.
|
meaning that the specified date doesn't exist.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user