Fix jagged indentation in wxGenericCalendarCtrl mouse code
No real changes.
This commit is contained in:
@@ -1330,16 +1330,16 @@ void wxGenericCalendarCtrl::OnDClick(wxMouseEvent& event)
|
|||||||
case wxCAL_HITTEST_DAY:
|
case wxCAL_HITTEST_DAY:
|
||||||
GenerateEvent(wxEVT_CALENDAR_DOUBLECLICKED);
|
GenerateEvent(wxEVT_CALENDAR_DOUBLECLICKED);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case wxCAL_HITTEST_DECMONTH:
|
case wxCAL_HITTEST_DECMONTH:
|
||||||
case wxCAL_HITTEST_INCMONTH:
|
case wxCAL_HITTEST_INCMONTH:
|
||||||
|
|
||||||
// allow quickly clicking the inc/dec button any number of
|
// allow quickly clicking the inc/dec button any number of
|
||||||
// times in a row by handling also the double-click event.
|
// times in a row by handling also the double-click event.
|
||||||
OnClick(event);
|
OnClick(event);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
event.Skip();
|
event.Skip();
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user