summaryrefslogtreecommitdiffstats
path: root/svtools/source/misc
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/misc')
-rw-r--r--svtools/source/misc/dialogcontrolling.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/svtools/source/misc/dialogcontrolling.cxx b/svtools/source/misc/dialogcontrolling.cxx
index 52b8656fa6e1..e89a97ca0307 100644
--- a/svtools/source/misc/dialogcontrolling.cxx
+++ b/svtools/source/misc/dialogcontrolling.cxx
@@ -181,6 +181,15 @@ namespace svt
}
//---------------------------------------------------------------------
+ void ControlDependencyManager::enableOnRadioCheck( RadioButton& _rRadio, Window& _rDependentWindow1, Window& _rDependentWindow2 )
+ {
+ PDialogController pController( new RadioDependentEnabler( _rRadio ) );
+ pController->addDependentWindow( _rDependentWindow1 );
+ pController->addDependentWindow( _rDependentWindow2 );
+ m_pImpl->aControllers.push_back( pController );
+ }
+
+ //---------------------------------------------------------------------
void ControlDependencyManager::enableOnRadioCheck( RadioButton& _rRadio, Window& _rDependentWindow1, Window& _rDependentWindow2, Window& _rDependentWindow3 )
{
PDialogController pController( new RadioDependentEnabler( _rRadio ) );