diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-03-18 16:52:30 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-03-18 16:52:30 +0000 |
commit | 28612476fada9a8313e72a88e28a18bf2bfebb74 (patch) | |
tree | 192a1bbdf9606d8ef460246d1123bd931f8e3594 /vcl/source/window | |
parent | 34a79d0c65a13d8f2eee9f7ebb6d391900da2ad1 (diff) |
INTEGRATION: CWS vcl36 (1.40.10); FILE MERGED
2005/02/11 07:23:15 dv 1.40.10.1: #i42067# Support for looking for deleted windows in TaskPanelList
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/syswin.cxx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx index d2ea97fcaa0e..719559942631 100644 --- a/vcl/source/window/syswin.cxx +++ b/vcl/source/window/syswin.cxx @@ -2,9 +2,9 @@ * * $RCSfile: syswin.cxx,v $ * - * $Revision: 1.40 $ + * $Revision: 1.41 $ * - * last change: $Author: kz $ $Date: 2005-01-13 18:05:34 $ + * last change: $Author: kz $ $Date: 2005-03-18 17:52:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -150,12 +150,12 @@ SystemWindow::SystemWindow( WindowType nType ) : mbSysChild = FALSE; mnMenuBarMode = MENUBAR_MODE_NORMAL; mnIcon = 0; - mpImplData->mpTaskPaneList = NULL; } SystemWindow::~SystemWindow() { delete mpImplData; + mpImplData = NULL; } // ----------------------------------------------------------------------- @@ -902,3 +902,11 @@ void SystemWindow::SetMenuBarMode( USHORT nMode ) } } } + +// ----------------------------------------------------------------------- +BOOL SystemWindow::ImplIsInTaskPaneList( Window* pWin ) +{ + if( mpImplData && mpImplData->mpTaskPaneList ) + return mpImplData->mpTaskPaneList->IsInList( pWin ); + return FALSE; +} |