From 47e8f3e50de45feb17ee11cb27679f9a6b27772d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 27 Oct 2014 20:09:55 +0000 Subject: [PATCH] Don't use "@overload" to document methods without parameters. Documentation generated by @overload is misleading in this case as it refers to the "different argument [the function] accepts", but there are none, the methods can be overloaded only by const modifier as well. Use \copydetails instead to reuse the original documentation, this is less confusing and arguably more useful as well. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/window.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/interface/wx/window.h b/interface/wx/window.h index 6ccea163d6..31b9093486 100644 --- a/interface/wx/window.h +++ b/interface/wx/window.h @@ -480,8 +480,10 @@ public: wxWindowList& GetChildren(); /** - @overload - */ + Returns a const reference to the list of the window's children. + + @copydetails GetChildren() + */ const wxWindowList& GetChildren() const; /**