Document wxDocument::DeleteContents().
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 13 May 2010 14:37:00 +0000 (14:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 13 May 2010 14:37:00 +0000 (14:37 +0000)
commit29548835934ad15172eb84782599a5c07e713035
tree38e7692be83b4c743e7ddc109471f7a43cc38c53
parent17c02cc8e687443eaf6d09f5268d3ecd103d99f7
Document wxDocument::DeleteContents().

This method purpose was not quite clear as it was only mentioned in passing in
documentation of OnCloseDocument() but not really documented itself.

Also don't call it from wxDocument dtor as this is useless: the user-defined
overridden version will never be called from here and the base class version
does nothing.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/docview.h
interface/wx/docview.h
src/common/docview.cpp