summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-07 21:24:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-07 21:24:35 +0100
commit70abef48308e1c23558ca1152b6fbb0c56e867e7 (patch)
tree3b1a25afab4a6183b817cb2895806674063ee6d1 /vcl/source/control
parent64a5f3b9835c56b27efd678916ab48ded872ce08 (diff)
no CheckBox loaded from src files anymore
Change-Id: I3211707d38c15a6fd3edcbe70fc3cee9b65dd6f6
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/button.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 4e5904eb56c0..e232e0b94def 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -3237,19 +3237,6 @@ CheckBox::CheckBox( vcl::Window* pParent, WinBits nStyle ) :
ImplInit( pParent, nStyle );
}
-CheckBox::CheckBox( vcl::Window* pParent, const ResId& rResId ) :
- Button( WINDOW_CHECKBOX ), mbLegacyNoTextAlign( false )
-{
- rResId.SetRT( RSC_CHECKBOX );
- WinBits nStyle = ImplInitRes( rResId );
- ImplInitCheckBoxData();
- ImplInit( pParent, nStyle );
- ImplLoadRes( rResId );
-
- if ( !(nStyle & WB_HIDE) )
- Show();
-}
-
void CheckBox::MouseButtonDown( const MouseEvent& rMEvt )
{
if ( rMEvt.IsLeft() && maMouseRect.IsInside( rMEvt.GetPosPixel() ) )