]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed a missing ampersand
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Tue, 28 Oct 2008 15:34:46 +0000 (15:34 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Tue, 28 Oct 2008 15:34:46 +0000 (15:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/menu.h

index c3d000a50bbe3232c61c074a1455f864fe751d87..963a8fac0b7418d82d00c336f944f0c52e823e1c 100644 (file)
@@ -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; }