X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/40f343d2a02d2994d41b3791ddd7f2992061b43f..336aecf1c2f69fa10e3271ea94dac7c545bf6300:/interface/wx/docview.h diff --git a/interface/wx/docview.h b/interface/wx/docview.h index baed8144d5..7a2fb033cb 100644 --- a/interface/wx/docview.h +++ b/interface/wx/docview.h @@ -740,8 +740,7 @@ public: /** Called when the filename has changed. The default implementation - constructs a suitable title and sets the title of the view frame (if - any). + constructs a suitable title and sets the title of the view frame (if any). */ virtual void OnChangeFilename(); @@ -1296,10 +1295,18 @@ public: /** Sets the filename for this document. Usually called by the framework. + Calls OnChangeFilename() which in turn calls wxView::OnChangeFilename() for + all views if @a notifyViews is @true, + */ + void SetFilename(const wxString& filename, bool notifyViews = false); + + /** If @a notifyViews is @true, wxView::OnChangeFilename() is called for all views. + + @since 2.9.0 */ - void SetFilename(const wxString& filename, bool notifyViews = false); + virtual void OnChangeFilename(bool notifyViews); /** Sets the title for this document. The document title is used for an @@ -1503,7 +1510,7 @@ public: // Global functions/macros // ============================================================================ -/** @ingroup group_funcmacro_file */ +/** @addtogroup group_funcmacro_file */ //@{ /**