Fix jagged indentation in wxGenericCalendarCtrl mouse code

No real changes.
This commit is contained in:
Vadim Zeitlin
2015-12-06 19:38:48 +01:00
parent 773690203e
commit b4b6975bad

View File

@@ -1330,16 +1330,16 @@ void wxGenericCalendarCtrl::OnDClick(wxMouseEvent& event)
case wxCAL_HITTEST_DAY:
GenerateEvent(wxEVT_CALENDAR_DOUBLECLICKED);
break;
case wxCAL_HITTEST_DECMONTH:
case wxCAL_HITTEST_INCMONTH:
// allow quickly clicking the inc/dec button any number of
// times in a row by handling also the double-click event.
OnClick(event);
break;
default:
event.Skip();
break;
}
}