reverted my Set/getTitle change

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2001-08-04 22:36:19 +00:00
parent b496583bb1
commit fe6b43a36e
4 changed files with 2 additions and 16 deletions

View File

@@ -172,8 +172,8 @@ public:
// the title (or label, see below) of the window: the text which the
// window shows
virtual void SetTitle( const wxString& title ) = 0;
virtual wxString GetTitle() const = 0;
virtual void SetTitle( const wxString& WXUNUSED(title) ) {}
virtual wxString GetTitle() const { return wxEmptyString; }
// label is just the same as the title (but for, e.g., buttons it
// makes more sense to speak about labels)