added wxCAL_MONDAY/SUNDAY_FIRST flags and Ctrl-Home/Right/Left and Home/End keys
handling git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1379,7 +1379,10 @@ wxDateTime& wxDateTime::SetToLastMonthDay(Month month,
|
||||
int year)
|
||||
{
|
||||
// take the current month/year if none specified
|
||||
ReplaceDefaultYearMonthWithCurrent(&year, &month);
|
||||
if ( year == Inv_Year )
|
||||
year = GetYear();
|
||||
if ( month == Inv_Month )
|
||||
month = GetMonth();
|
||||
|
||||
return Set(GetNumOfDaysInMonth(year, month), month, year);
|
||||
}
|
||||
|
Reference in New Issue
Block a user