X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de56f24082e4b66dada7bfe4033e1ef7328052ca..dc813e6c7ef8a9a26c035b004b512e1aa1b0bf3f:/include/wx/docview.h?ds=sidebyside diff --git a/include/wx/docview.h b/include/wx/docview.h index a0fe1c40f2..6568e7654a 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -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 @@ -490,7 +494,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long type = wxDEFAULT_FRAME_STYLE, - const wxString& name = wxT("frame")); + const wxString& name = wxFrameNameStr); virtual ~wxDocChildFrame(){} void OnActivate(wxActivateEvent& event);