From: Markus R. <rol...@us...> - 2007-05-01 11:01:19
|
Update of /cvsroot/simspark/simspark/contrib/rsgedit In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv28288 Modified Files: Tag: RSGEDIT_FILEREF propertylist.cpp Log Message: - properly suppress flicker using the wxListCtrl Freeze/Thaw Api Index: propertylist.cpp =================================================================== RCS file: /cvsroot/simspark/simspark/contrib/rsgedit/propertylist.cpp,v retrieving revision 1.1 retrieving revision 1.1.4.1 diff -C2 -d -r1.1 -r1.1.4.1 *** propertylist.cpp 22 Jan 2006 17:24:45 -0000 1.1 --- propertylist.cpp 1 May 2007 11:01:12 -0000 1.1.4.1 *************** *** 90,93 **** --- 90,94 ---- } + mCtrList->Freeze(); bool valRefresh = *************** *** 111,115 **** if (valRefresh) { ! // just refresh values to prevent flicker mCtrList->SetItem(line, 1, entry.value); } else --- 112,116 ---- if (valRefresh) { ! // just refresh values mCtrList->SetItem(line, 1, entry.value); } else *************** *** 122,124 **** --- 123,127 ---- ++line; } + + mCtrList->Thaw(); } |