Added wxView::OnClosingDocument so the application can do

cleanup.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-07-12 16:08:03 +00:00
parent 904ccf5237
commit b23e843b99
4 changed files with 28 additions and 0 deletions

View File

@@ -126,6 +126,13 @@ all share the same window, you need to disassociate the window from the view
and perhaps clear the window. If {\it deleteWindow} is TRUE, delete the
frame associated with the view.
\membersection{wxView::OnClosingDocument}\label{wxviewonclosingdocument}
\func{virtual void}{OnClosingDoocument}{\void}
Override this to clean up the view when the document is being
closed.
\membersection{wxView::OnCreate}
\func{virtual bool}{OnCreate}{\param{wxDocument* }{doc}, \param{long}{ flags}}