From 70abef48308e1c23558ca1152b6fbb0c56e867e7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 7 Oct 2016 21:24:35 +0100 Subject: no CheckBox loaded from src files anymore Change-Id: I3211707d38c15a6fd3edcbe70fc3cee9b65dd6f6 --- vcl/source/control/button.cxx | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'vcl/source/control') 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() ) ) -- cgit