From: Markus R. <rol...@us...> - 2007-04-09 17:43:11
|
Update of /cvsroot/simspark/simspark/contrib/rsgedit In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv17658 Modified Files: mainframe.cpp Log Message: - adapted to changed Render() method signature Index: mainframe.cpp =================================================================== RCS file: /cvsroot/simspark/simspark/contrib/rsgedit/mainframe.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** mainframe.cpp 1 Apr 2007 16:10:13 -0000 1.12 --- mainframe.cpp 9 Apr 2007 17:43:09 -0000 1.13 *************** *** 403,407 **** wxClientDC dc(this); ! mCanvas->Render(dc); // recheck and update as soon as posssible --- 403,409 ---- wxClientDC dc(this); ! ! bool swapBuffers = true; ! mCanvas->Render(dc, swapBuffers); // recheck and update as soon as posssible *************** *** 475,479 **** wxClientDC dc(this); ! mCanvas->Render(dc); } --- 477,483 ---- wxClientDC dc(this); ! ! bool swapBuffers = true; ! mCanvas->Render(dc, swapBuffers); } |