[Igarden-commit] Garden/source/PlanTool PlanView.cpp, 1.47.2.2, 1.47.2.3 PlanView.h, 1.26, 1.26.2.1
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2007-01-28 05:47:33
|
Update of /cvsroot/igarden/Garden/source/PlanTool In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv5581 Modified Files: Tag: Release_branch_v1 PlanView.cpp PlanView.h Log Message: FIx crash updating preferences on closed files Index: PlanView.h =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/PlanView.h,v retrieving revision 1.26 retrieving revision 1.26.2.1 diff -C2 -d -r1.26 -r1.26.2.1 *** PlanView.h 15 Apr 2006 19:02:42 -0000 1.26 --- PlanView.h 28 Jan 2007 05:47:32 -0000 1.26.2.1 *************** *** 85,89 **** public: enum {kClassID = 'rdPV'}; - DECLAREDISPATCH // methods PlanView(XGView* parent, XGArgStream& inStream); --- 85,88 ---- *************** *** 139,143 **** void GetYearsDisplayed(short& minYear, short& maxYear, short& primaryYear); PlanTool* GetToolForElementID(const char* elementID); ! long DoPreferenceChanged(long arg, void* parg); Point GetPortMousePos(); planScale_t GetDefaultScale(); --- 138,142 ---- void GetYearsDisplayed(short& minYear, short& maxYear, short& primaryYear); PlanTool* GetToolForElementID(const char* elementID); ! virtual long DoPreferenceChanged(long arg, void* parg); Point GetPortMousePos(); planScale_t GetDefaultScale(); Index: PlanView.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/PlanView.cpp,v retrieving revision 1.47.2.2 retrieving revision 1.47.2.3 diff -C2 -d -r1.47.2.2 -r1.47.2.3 *** PlanView.cpp 26 Nov 2006 01:16:35 -0000 1.47.2.2 --- PlanView.cpp 28 Jan 2007 05:47:32 -0000 1.47.2.3 *************** *** 49,56 **** using yaaf::XGScrollView; - BEGINDISPATCH(PlanView,XGView) - DISPATCHTABLE(msg_PreferenceStateChanged,PlanView::DoPreferenceChanged) - ENDDISPATCH - static OSStatus aglReportError () { --- 49,52 ---- *************** *** 99,104 **** _planUndoer = new RGUndoer; FinishCreate(); - - XGBroadcast::AddBroadcast(this); } --- 95,98 ---- *************** *** 137,142 **** _planUndoer = new RGUndoer; FinishCreate(); - - XGBroadcast::AddBroadcast(this); } --- 131,134 ---- |