X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa7134b05abb0d8df4b800762aa9d040bfd689a4..2e9abe9e35d43eee00d5c2078ac0e35d8afcf0b1:/include/wx/menu.h diff --git a/include/wx/menu.h b/include/wx/menu.h index 8cae2e1255..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; } @@ -532,7 +532,7 @@ protected: #elif defined(__WXGTK__) #include "wx/gtk1/menu.h" #elif defined(__WXMAC__) - #include "wx/mac/menu.h" + #include "wx/osx/menu.h" #elif defined(__WXCOCOA__) #include "wx/cocoa/menu.h" #elif defined(__WXPM__)