summaryrefslogtreecommitdiffstats
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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx
index 068332e5b610..ce5bbf486c85 100644
--- a/vcl/source/control/fixed.cxx
+++ b/vcl/source/control/fixed.cxx
@@ -94,8 +94,8 @@ const Color& FixedText::GetCanonicalTextColor( const StyleSettings& _rStyle ) co
return _rStyle.GetLabelTextColor();
}
-FixedText::FixedText( vcl::Window* pParent, WinBits nStyle )
- : Control(WindowType::FIXEDTEXT)
+FixedText::FixedText(vcl::Window* pParent, WinBits nStyle, WindowType eType)
+ : Control(eType)
, m_nMaxWidthChars(-1)
, m_nMinWidthChars(-1)
, m_pMnemonicWindow(nullptr)