diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-03-18 16:52:48 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-03-18 16:52:48 +0000 |
commit | 4c5b46d26fc0bc271c2c0f95ad49d63627396afa (patch) | |
tree | c07719febc50675ebdaca90f9a326d576b29079e /vcl/source/window/taskpanelist.cxx | |
parent | INTEGRATION: CWS vcl36 (1.40.10); FILE MERGED (diff) | |
download | core-4c5b46d26fc0bc271c2c0f95ad49d63627396afa.tar.gz core-4c5b46d26fc0bc271c2c0f95ad49d63627396afa.zip |
INTEGRATION: CWS vcl36 (1.16.92); FILE MERGED
2005/02/11 07:23:15 dv 1.16.92.1: #i42067# Support for looking for deleted windows in TaskPanelList
Diffstat (limited to 'vcl/source/window/taskpanelist.cxx')
-rw-r--r-- | vcl/source/window/taskpanelist.cxx | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/vcl/source/window/taskpanelist.cxx b/vcl/source/window/taskpanelist.cxx index 31ea1a502cc2..733c46c32bc5 100644 --- a/vcl/source/window/taskpanelist.cxx +++ b/vcl/source/window/taskpanelist.cxx @@ -2,9 +2,9 @@ * * $RCSfile: taskpanelist.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: pjunck $ $Date: 2004-10-22 12:14:28 $ + * last change: $Author: kz $ $Date: 2005-03-18 17:52:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -211,6 +211,18 @@ void TaskPaneList::RemoveWindow( Window *pWindow ) // -------------------------------------------------- +BOOL TaskPaneList::IsInList( Window *pWindow ) +{ + ::std::vector< Window* >::iterator p; + p = ::std::find( mTaskPanes.begin(), mTaskPanes.end(), pWindow ); + if( p != mTaskPanes.end() ) + return TRUE; + else + return FALSE; +} + +// -------------------------------------------------- + BOOL TaskPaneList::HandleKeyEvent( KeyEvent aKeyEvent ) { |