]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix wxAboutDialogInfo::GetName() return type in the documentation.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 7 Feb 2012 13:48:44 +0000 (13:48 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 7 Feb 2012 13:48:44 +0000 (13:48 +0000)
wxString is returned by value, not const reference.

Closes #13941.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/aboutdlg.h

index 06abdff3249b3f09100161ba0af96ca50abd4891..35cd11aa32e5dac0eb76da83c15b6b8d5644abc1 100644 (file)
@@ -98,7 +98,7 @@ public:
         @return Name of the program
         @see SetName()
     */
         @return Name of the program
         @see SetName()
     */
-    const wxString& GetName() const;
+    wxString GetName() const;
 
     /**
         Returns @true if a description string has been specified.
 
     /**
         Returns @true if a description string has been specified.