summaryrefslogtreecommitdiff
path: root/svx/source/dialog/dlgctrl.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-07-04 17:17:58 +0200
committerMiklos Vajna <vmiklos@suse.cz>2013-07-04 18:32:21 +0200
commitef4926fe6640cc8ba48117075b0b5871f02e34f3 (patch)
treeea7855d7d5aeddd06966639840c9847ca125b10e /svx/source/dialog/dlgctrl.cxx
parenta8bcd1a39eebb3b2e28972592915c793391c500d (diff)
svx: add SvxRectCtl::SetCS()
This way CTL_STYLE can be set after the control has been created. Change-Id: Ifaa93cdc17e6e0c694d2aa308d19ff996dd28a16
Diffstat (limited to 'svx/source/dialog/dlgctrl.cxx')
-rw-r--r--svx/source/dialog/dlgctrl.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx
index 29ac4d234ea4..247c6cb09839 100644
--- a/svx/source/dialog/dlgctrl.cxx
+++ b/svx/source/dialog/dlgctrl.cxx
@@ -731,6 +731,11 @@ void SvxRectCtl::DoCompletelyDisable(sal_Bool bNew)
Invalidate();
}
+void SvxRectCtl::SetCS(CTL_STYLE eNew)
+{
+ eCS = eNew;
+}
+
// Control for editing bitmaps
SvxPixelCtl::SvxPixelCtl( Window* pParent, const ResId& rResId, sal_uInt16 nNumber ) :