Made RemoveAndDeleteTab() virtual, so it can be overridden. Deleting the

view without notifying anyone isn't always desirable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25959 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-06-15 02:13:09 +00:00
parent 17b889de67
commit 4ce4bc3096
+1 -1
View File
@@ -30,7 +30,7 @@ public:
virtual void Select(int32 tab); virtual void Select(int32 tab);
void RemoveAndDeleteTab(int32 index); virtual void RemoveAndDeleteTab(int32 index);
virtual void AddTab(BView *target, BTab *tab = NULL); virtual void AddTab(BView *target, BTab *tab = NULL);
virtual BTab* RemoveTab(int32 index); virtual BTab* RemoveTab(int32 index);