[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/src/widgets pgwidget.cpp,1.4.4.1,1.4.4.2
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/src/widgets pgwidget.cpp,1.4.4.1,1.4.4.2 |
Date: |
Tue, 28 May 2002 06:25:09 -0400 |
Update of /cvsroot/paragui/paragui/src/widgets
In directory subversions:/tmp/cvs-serv8327/src/widgets
Modified Files:
Tag: devel-1-0
pgwidget.cpp
Log Message:
added a switch to disable dirty updates globally:
PG_Application::DisableDirtyUpdates(bool)
added some default values for static variables in PG_Application.
Index: pgwidget.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgwidget.cpp,v
retrieving revision 1.4.4.1
retrieving revision 1.4.4.2
diff -C2 -r1.4.4.1 -r1.4.4.2
*** pgwidget.cpp 2 May 2002 08:45:36 -0000 1.4.4.1
--- pgwidget.cpp 28 May 2002 10:25:07 -0000 1.4.4.2
***************
*** 1918,1921 ****
--- 1918,1926 ----
void PG_Widget::SetDirtyUpdate(bool bDirtyUpdate) {
+ if(PG_Application::GetDirtyUpdatesDisabled()) {
+ my_internaldata->dirtyUpdate = false;
+ return;
+ }
+
my_internaldata->dirtyUpdate = bDirtyUpdate;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/src/widgets pgwidget.cpp,1.4.4.1,1.4.4.2,
Alexander Pipelka <address@hidden> <=