Made GetLabel/SetLabel() virtual

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-05-21 13:28:49 +00:00
parent 63cc5d9d20
commit eba0e4d417
2 changed files with 5 additions and 5 deletions

View File

@@ -156,8 +156,8 @@ public:
// label is just the same as the title (but for, e.g., buttons it
// makes more sense to speak about labels)
void SetLabel(const wxString& label) { SetTitle(label); }
wxString GetLabel() const { return GetTitle(); }
virtual void SetLabel(const wxString& label) { SetTitle(label); }
virtual wxString GetLabel() const { return GetTitle(); }
// the window name is used for ressource setting in X, it is not the
// same as the window title/label