X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d8d36335cf7d3a5bf787e7e2510ac09f4839e5e..84c3e788d6200d68384852e4c4785c09922ec499:/include/wx/cocoa/window.h diff --git a/include/wx/cocoa/window.h b/include/wx/cocoa/window.h index 509d59b12a..c997a01de7 100644 --- a/include/wx/cocoa/window.h +++ b/include/wx/cocoa/window.h @@ -146,8 +146,8 @@ public: // Set/get the window's font virtual bool SetFont(const wxFont& f); // inline virtual wxFont& GetFont() const; - virtual void SetLabel(const wxString& label) { SetTitle(label); } - virtual wxString GetLabel() const { return GetTitle(); } + virtual void SetLabel(const wxString& label); + virtual wxString GetLabel() const; // label handling // Get character size virtual int GetCharHeight() const;