Lines Matching refs:pWindow
52 static Window* GetTopMostParentSystemWindow( Window* pWindow ) in GetTopMostParentSystemWindow() argument
54 OSL_ASSERT( pWindow ); in GetTopMostParentSystemWindow()
55 if ( pWindow ) in GetTopMostParentSystemWindow()
59 pWindow = pWindow->GetParent(); in GetTopMostParentSystemWindow()
61 while ( pWindow ) in GetTopMostParentSystemWindow()
63 if ( pWindow->IsSystemWindow() ) in GetTopMostParentSystemWindow()
64 pTopMostSysWin = (SystemWindow*)pWindow; in GetTopMostParentSystemWindow()
65 pWindow = pWindow->GetParent(); in GetTopMostParentSystemWindow()
67 pWindow = pTopMostSysWin; in GetTopMostParentSystemWindow()
68 OSL_ASSERT( pWindow ); in GetTopMostParentSystemWindow()
69 return pWindow; in GetTopMostParentSystemWindow()
485 Window* pWindow = GetTopMostParentSystemWindow( this ); in implInit() local
486 if ( pWindow ) in implInit()
487 ((SystemWindow *)pWindow)->GetTaskPaneList()->AddWindow( this ); in implInit()
494 Window* pWindow = GetTopMostParentSystemWindow( this ); in ~ToolbarMenu() local
495 if ( pWindow ) in ~ToolbarMenu()
496 ((SystemWindow *)pWindow)->GetTaskPaneList()->RemoveWindow( this ); in ~ToolbarMenu()