From 56454c1513ec10aa70cef0a492d1ed6fab016451 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Tue, 28 Oct 2008 15:34:46 +0000 Subject: [PATCH] fixed a missing ampersand git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/menu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.45.2