]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/menu.h
Added experimental async clipboard format query
[wxWidgets.git] / 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; }