From: Robert Roebling Date: Sat, 21 Aug 2010 09:53:25 +0000 (+0000) Subject: make Set/GetLabel() set and return title in wxTLW, fixes #12371: Dialog::GetLabel... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a03b38ef68a756cd78497170ab1a1990e53cb02a?ds=inline make Set/GetLabel() set and return title in wxTLW, fixes #12371: Dialog::GetLabel() Inconsistent behaviour across operating systems git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/gtk/toplevel.h b/include/wx/gtk/toplevel.h index 12894ce7be..635475bf9a 100644 --- a/include/wx/gtk/toplevel.h +++ b/include/wx/gtk/toplevel.h @@ -72,6 +72,10 @@ public: virtual void SetTitle( const wxString &title ); virtual wxString GetTitle() const { return m_title; } + virtual void SetLabel(const wxString& label) { SetTitle( label ); } + virtual wxString GetLabel() const { return GetTitle(); } + + virtual bool SetTransparent(wxByte alpha); virtual bool CanSetTransparent();