tabctrl.cxx (9f62ea84) tabctrl.cxx (ad3a95a3)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 605 unchanged lines hidden (view full) ---

614 }
615 if ( !pCtrlParent->GetUniqueId().getLength() )
616 {
617 mbRestoreUnqId = sal_True;
618 pCtrlParent->SetUniqueId( pPage->GetUniqueId() );
619 }
620
621 pPage->ActivatePage();
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 605 unchanged lines hidden (view full) ---

614 }
615 if ( !pCtrlParent->GetUniqueId().getLength() )
616 {
617 mbRestoreUnqId = sal_True;
618 pCtrlParent->SetUniqueId( pPage->GetUniqueId() );
619 }
620
621 pPage->ActivatePage();
622//IAccessibility2 Implementation 2009-----
623 pPage->Show();
624//-----IAccessibility2 Implementation 2009
622
623 if ( pOldPage && pOldPage->HasChildPathFocus() )
624 {
625 sal_uInt16 n = 0;
626 Window* pFirstChild = pPage->ImplGetDlgWindow( n, DLGWINDOW_FIRST );
627 if ( pFirstChild )
628 pFirstChild->ImplControlFocus( GETFOCUS_INIT );
629 else
630 GrabFocus();
631 }
632
625
626 if ( pOldPage && pOldPage->HasChildPathFocus() )
627 {
628 sal_uInt16 n = 0;
629 Window* pFirstChild = pPage->ImplGetDlgWindow( n, DLGWINDOW_FIRST );
630 if ( pFirstChild )
631 pFirstChild->ImplControlFocus( GETFOCUS_INIT );
632 else
633 GrabFocus();
634 }
635
633 pPage->Show();
636//IAccessibility2 Implementation 2009-----
637 // pPage->Show();
638//-----IAccessibility2 Implementation 2009
634 }
635
636 if ( pOldPage )
637 pOldPage->Hide();
638
639 // Invalidate the same region that will be send to NWF
640 // to always allow for bitmap caching
641 // see Window::DrawNativeControl()

--- 1571 unchanged lines hidden ---
639 }
640
641 if ( pOldPage )
642 pOldPage->Hide();
643
644 // Invalidate the same region that will be send to NWF
645 // to always allow for bitmap caching
646 // see Window::DrawNativeControl()

--- 1571 unchanged lines hidden ---