[Igarden-commit] CommonSource/CalendarView CalendarView.h, 1.4, 1.4.2.1 CalendarView.cpp, 1.6.2.1,
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2008-04-08 22:20:45
|
Update of /cvsroot/igarden/CommonSource/CalendarView In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv3200/CalendarView Modified Files: Tag: Release_branch_v1 CalendarView.h CalendarView.cpp Log Message: Handle exiting date dialog with the OK button Index: CalendarView.cpp =================================================================== RCS file: /cvsroot/igarden/CommonSource/CalendarView/CalendarView.cpp,v retrieving revision 1.6.2.1 retrieving revision 1.6.2.2 diff -C2 -d -r1.6.2.1 -r1.6.2.2 *** CalendarView.cpp 22 Aug 2007 13:00:27 -0000 1.6.2.1 --- CalendarView.cpp 8 Apr 2008 22:20:42 -0000 1.6.2.2 *************** *** 144,148 **** theHotSpot = FindHotSpot(pt); if((theHotSpot != prevMonthHotSpot) && (theHotSpot != nextMonthHotSpot)) ! SendMessage(kCalendarDoubleClock,0,0); } return true; --- 144,148 ---- theHotSpot = FindHotSpot(pt); if((theHotSpot != prevMonthHotSpot) && (theHotSpot != nextMonthHotSpot)) ! SendMessage(kCalendarDoubleClick,0,0); } return true; *************** *** 157,160 **** --- 157,161 ---- { HotSpotResult(theHotSpot); + SendMessage(kCalendarSingleClick,0,0); } mMouseDown = false; Index: CalendarView.h =================================================================== RCS file: /cvsroot/igarden/CommonSource/CalendarView/CalendarView.h,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -C2 -d -r1.4 -r1.4.2.1 *** CalendarView.h 13 Jan 2006 22:54:19 -0000 1.4 --- CalendarView.h 8 Apr 2008 22:20:32 -0000 1.4.2.1 *************** *** 33,37 **** #include <XGSend.h> ! const long kCalendarDoubleClock = 'cdbl'; using namespace yaaf; --- 33,38 ---- #include <XGSend.h> ! const long kCalendarDoubleClick = 'cdbl'; ! const long kCalendarSingleClick = 'csgl'; using namespace yaaf; |