[Rojav-commits] rocgui/impl guiapp.cpp,1.44,1.45 planpanel.cpp,1.22,1.23
Brought to you by:
robvrs
|
From: rob v. <ro...@us...> - 2005-12-01 20:45:12
|
Update of /cvsroot/rojav/rocgui/impl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1827 Modified Files: guiapp.cpp planpanel.cpp Log Message: modified initialization Index: planpanel.cpp =================================================================== RCS file: /cvsroot/rojav/rocgui/impl/planpanel.cpp,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** planpanel.cpp 30 Nov 2005 20:46:00 -0000 1.22 --- planpanel.cpp 1 Dec 2005 20:44:58 -0000 1.23 *************** *** 503,507 **** CRjGuiFrame* frame = wxGetApp().getFrame(); TraceOp.trc( "plan", TRCLEVEL_INFO, __LINE__, 9999, "Title = %s", wPlan.gettitle( model ) ); - frame->setPlanTitle( wPlan.gettitle( model ) ); //o->setShow(false); o->addItems( wPlan.gettklist( model ) ); --- 503,506 ---- Index: guiapp.cpp =================================================================== RCS file: /cvsroot/rojav/rocgui/impl/guiapp.cpp,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** guiapp.cpp 28 Nov 2005 20:22:07 -0000 1.44 --- guiapp.cpp 1 Dec 2005 20:44:58 -0000 1.45 *************** *** 544,547 **** --- 544,549 ---- iONode model = wxGetApp().getModel(); + setPlanTitle( wPlan.gettitle(model) ); + wxGrid* l_ActiveLocs = wxGetApp().getActiveLocsGrid(); if( model != NULL ) { *************** *** 817,822 **** void CRjGuiFrame::setPlanTitle( const char* title ) { ! const char* prefix = "RocRail: %s"; ! SetTitle( StrOp.fmt( prefix, title ) ); } --- 819,825 ---- void CRjGuiFrame::setPlanTitle( const char* title ) { ! char* l_title = StrOp.fmt( "RocRail: %s", title ); ! SetTitle( l_title ); ! StrOp.free( l_title ); } |