summaryrefslogtreecommitdiff
path: root/vcl/source/control/fixed.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/fixed.cxx')
-rw-r--r--vcl/source/control/fixed.cxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx
index a95df76cb59f..2e05a6f6acc0 100644
--- a/vcl/source/control/fixed.cxx
+++ b/vcl/source/control/fixed.cxx
@@ -177,6 +177,14 @@ FixedText::FixedText( Window* pParent, const ResId& rResId ) :
Show();
}
+void FixedText::take_properties(Window &rOther)
+{
+ if (!GetParent())
+ ImplInit(rOther.GetParent(), rOther.GetStyle());
+
+ Control::take_properties(rOther);
+}
+
// -----------------------------------------------------------------------
FixedText::FixedText( Window* pParent, const ResId& rResId, bool bDisableAccessibleLabelForRelation ) :
@@ -596,6 +604,14 @@ FixedLine::FixedLine( Window* pParent, const ResId& rResId ) :
Show();
}
+void FixedLine::take_properties(Window &rOther)
+{
+ if (!GetParent())
+ ImplInit(rOther.GetParent(), rOther.GetStyle());
+
+ Control::take_properties(rOther);
+}
+
// -----------------------------------------------------------------------
void FixedLine::FillLayoutData() const