From: Francesco Montorsi Date: Tue, 28 Oct 2008 15:34:46 +0000 (+0000) Subject: fixed a missing ampersand X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/56454c1513ec10aa70cef0a492d1ed6fab016451?ds=inline fixed a missing ampersand git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/menu.h b/include/wx/menu.h index c3d000a50b..963a8fac0b 100644 --- a/include/wx/menu.h +++ b/include/wx/menu.h @@ -248,7 +248,7 @@ public: // the title virtual void SetTitle(const wxString& title) { m_title = title; } - const wxString GetTitle() const { return m_title; } + const wxString& GetTitle() const { return m_title; } // event handler void SetEventHandler(wxEvtHandler *handler) { m_eventHandler = handler; }