1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0023523: In session DRAW it is impossible to close document having name already once closed document.

Added destructor for TDocStd_Document which performs destruction of document in logical order in order to avoid exception when Undo and Redo fields are destructed after THF_Data field.
Added removing name of closed document from tcl variables in the DRAW in order to avoid exception during use the same name for new document.
Modification to avoid compilation error class ViewerTest
Minor correction in test caf basic G3
This commit is contained in:
gka
2012-12-14 16:17:11 +04:00
parent 7a06c690fb
commit 24de79c3a5
25 changed files with 47 additions and 32 deletions

View File

@@ -68,9 +68,10 @@ is
Initialize;
Destroy(me: mutable) is protected;
---C++: alias ~
---Category: virtual methods
Destroy(me: mutable) is virtual protected;
---C++: alias ~
Update(me: mutable; aToDocument: Document from CDM; aReferenceIdentifier: Integer from Standard; aModifContext: Address from Standard)
---Purpose: The Update method will be called once for each