summaryrefslogtreecommitdiff
path: root/svtools/source/toolpanel/tablayouter.cxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-03-02 10:31:11 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-03-02 10:31:11 +0100
commitfbf16affc4d096d09b47bf39144b62ded7bb37f4 (patch)
tree9da0f243fde248cf537f7f5e78ea08ceafcd22c9 /svtools/source/toolpanel/tablayouter.cxx
parentcdacac2bb85acf05395a19545e787aea16da1d9d (diff)
slidecopy: going forward with the VCL ToolPanelDeck. Keyboard control, focus handling, moved from shared_ptr to IReference, enhancements to the test program, misc improvements
Diffstat (limited to 'svtools/source/toolpanel/tablayouter.cxx')
-rw-r--r--svtools/source/toolpanel/tablayouter.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/svtools/source/toolpanel/tablayouter.cxx b/svtools/source/toolpanel/tablayouter.cxx
index 7b237e8f09f6..269a6a1c4acd 100644
--- a/svtools/source/toolpanel/tablayouter.cxx
+++ b/svtools/source/toolpanel/tablayouter.cxx
@@ -132,6 +132,17 @@ namespace svt
m_pData->pTabBar.reset();
}
+ //--------------------------------------------------------------------
+ void TabDeckLayouter::SetFocusToPanelSelector()
+ {
+ if ( !m_pData->pTabBar.get() )
+ {
+ OSL_ENSURE( false, "TabDeckLayouter::SetFocusToPanelSelector: already disposed!" );
+ return;
+ }
+ m_pData->pTabBar->GrabFocus();
+ }
+
//........................................................................
} // namespace svt
//........................................................................