summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorThomas Benisch <tbe@openoffice.org>2002-11-08 15:26:50 +0000
committerThomas Benisch <tbe@openoffice.org>2002-11-08 15:26:50 +0000
commit29d0e79f7bcb572a5a57d78a9d38858b2a8aae15 (patch)
tree27b4e4036a80932202fb218a4ebd5451ee37da64 /vcl/source
parentcf81cb677842a37cf0a5a56576312d6668aa5f0f (diff)
#104891# send VCLEVENT_TABPAGE_INSERTED, VCLEVENT_TABPAGE_REMOVED, VCLEVENT_TABPAGE_REMOVEDALL
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/control/tabctrl.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index 4fdb21e25bee..109120f71e98 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tabctrl.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: tbe $ $Date: 2002-08-19 16:03:24 $
+ * last change: $Author: tbe $ $Date: 2002-11-08 16:26:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1506,6 +1506,8 @@ void TabControl::InsertPage( USHORT nPageId, const XubString& rText,
mbFormat = TRUE;
if ( IsUpdateMode() )
Invalidate();
+
+ ImplCallEventListeners( VCLEVENT_TABPAGE_INSERTED, (void*) nPageId );
}
// -----------------------------------------------------------------------
@@ -1542,6 +1544,8 @@ void TabControl::RemovePage( USHORT nPageId )
mbFormat = TRUE;
if ( IsUpdateMode() )
Invalidate();
+
+ ImplCallEventListeners( VCLEVENT_TABPAGE_REMOVED, (void*) nPageId );
}
}
@@ -1565,6 +1569,8 @@ void TabControl::Clear()
mbFormat = TRUE;
if ( IsUpdateMode() )
Invalidate();
+
+ ImplCallEventListeners( VCLEVENT_TABPAGE_REMOVEDALL );
}
// -----------------------------------------------------------------------