diff options
author | Thomas Benisch <tbe@openoffice.org> | 2002-04-25 10:02:11 +0000 |
---|---|---|
committer | Thomas Benisch <tbe@openoffice.org> | 2002-04-25 10:02:11 +0000 |
commit | 376c87526a5516e07cb6f938ca89085ae650c10e (patch) | |
tree | 71257a26fd13bd4ecdffa165187102c9dc8c9994 /vcl/source/window/taskpanelist.cxx | |
parent | #97492# fix DrawStretchText on win (diff) | |
download | core-376c87526a5516e07cb6f938ca89085ae650c10e.tar.gz core-376c87526a5516e07cb6f938ca89085ae650c10e.zip |
#98585# use IsReallyVisible() instead of IsVisible() for finding next pane or float
Diffstat (limited to 'vcl/source/window/taskpanelist.cxx')
-rw-r--r-- | vcl/source/window/taskpanelist.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/window/taskpanelist.cxx b/vcl/source/window/taskpanelist.cxx index b3f572429d7d..6498907f87fc 100644 --- a/vcl/source/window/taskpanelist.cxx +++ b/vcl/source/window/taskpanelist.cxx @@ -2,9 +2,9 @@ * * $RCSfile: taskpanelist.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: ssa $ $Date: 2002-04-15 12:46:05 $ + * last change: $Author: tbe $ $Date: 2002-04-25 11:02:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -272,7 +272,7 @@ Window* TaskPaneList::FindNextPane( Window *pWindow, BOOL bForward ) { if( ++p == mTaskPanes.end() ) p = mTaskPanes.begin(); - if( (*p)->IsVisible() && !(*p)->IsDialog() ) + if( (*p)->IsReallyVisible() && !(*p)->IsDialog() ) { pWindow = *p; break; @@ -308,7 +308,7 @@ Window* TaskPaneList::FindNextFloat( Window *pWindow, BOOL bForward ) ++p; if( p == mTaskPanes.end() ) break; // do not wrap, send focus back to document at end of list - if( (*p)->IsVisible() /*&& ( (*p)->GetType() == RSC_DOCKINGWINDOW || (*p)->IsDialog() )*/ ) + if( (*p)->IsReallyVisible() /*&& ( (*p)->GetType() == RSC_DOCKINGWINDOW || (*p)->IsDialog() )*/ ) { pWindow = *p; break; |