When the document was forced to close, OnSaveModified() was still called and allowed the user to cancel closing the document -- but it was still closed after OnSaveModified() returned. Be more upfront about it and tell the user that the document will be closed anyhow, but still propose them to save it if necessary. An alternative solution might be to just deprecate "force closing" entirely, as this seems very user-unfriendly. |
||
|---|---|---|
| .. | ||
| wx | ||
| check_syntax.sh | ||