diff options
Diffstat (limited to 'svtools/source/brwbox/ebbcontrols.cxx')
-rw-r--r-- | svtools/source/brwbox/ebbcontrols.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx index 45b1a3766e..761fd32b3f 100644 --- a/svtools/source/brwbox/ebbcontrols.cxx +++ b/svtools/source/brwbox/ebbcontrols.cxx @@ -586,6 +586,12 @@ namespace svt m_xCalendar->set_date(rDate); } + void DateControl::SetEditableReadOnly(bool bReadOnly) + { + FormattedControlBase::SetEditableReadOnly(bReadOnly); + m_xMenuButton->set_sensitive(!bReadOnly); + } + void DateControl::dispose() { m_xTodayBtn.reset(); |