minor cleanup; add wxDocument::OnChangeFilename for coherence with wxView::OnChangefilename; avoid some (small) code duplication; closes #10080
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -107,6 +107,10 @@ public:
|
||||
// modified to false)
|
||||
virtual bool OnSaveModified();
|
||||
|
||||
// if you override, remember to call the default
|
||||
// implementation (wxDocument::OnChangeFilename)
|
||||
virtual void OnChangeFilename(bool notifyViews);
|
||||
|
||||
// Called by framework if created automatically by the default document
|
||||
// manager: gives document a chance to initialise and (usually) create a
|
||||
// view
|
||||
|
Reference in New Issue
Block a user