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:
@@ -20,7 +20,7 @@ public:
|
|||||||
B_WILL_DRAW | B_NAVIGABLE_JUMP |
|
B_WILL_DRAW | B_NAVIGABLE_JUMP |
|
||||||
B_FRAME_EVENTS | B_NAVIGABLE);
|
B_FRAME_EVENTS | B_NAVIGABLE);
|
||||||
virtual ~SmartTabView();
|
virtual ~SmartTabView();
|
||||||
|
|
||||||
virtual void MouseDown(BPoint where);
|
virtual void MouseDown(BPoint where);
|
||||||
|
|
||||||
virtual void AttachedToWindow();
|
virtual void AttachedToWindow();
|
||||||
@@ -29,9 +29,9 @@ public:
|
|||||||
virtual void MessageReceived(BMessage *message);
|
virtual void MessageReceived(BMessage *message);
|
||||||
|
|
||||||
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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user