summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/button.cxx33
1 files changed, 0 insertions, 33 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index e232e0b94def..fc37a3429092 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -2322,29 +2322,6 @@ RadioButton::RadioButton( vcl::Window* pParent, WinBits nStyle ) :
ImplInit( pParent, nStyle );
}
-RadioButton::RadioButton( vcl::Window* pParent, const ResId& rResId ) :
- Button( WINDOW_RADIOBUTTON ), mbLegacyNoTextAlign( false )
-{
- rResId.SetRT( RSC_RADIOBUTTON );
- WinBits nStyle = ImplInitRes( rResId );
- ImplInitRadioButtonData();
- ImplInit( pParent, nStyle );
- ImplLoadRes( rResId );
-
- if ( !(nStyle & WB_HIDE) )
- Show();
-}
-
-void RadioButton::ImplLoadRes( const ResId& rResId )
-{
- Button::ImplLoadRes( rResId );
-
- //anderer Wert als Default ?
- sal_uInt16 nChecked = ReadShortRes();
- if ( nChecked )
- SetState( true );
-}
-
RadioButton::~RadioButton()
{
disposeOnce();
@@ -3029,16 +3006,6 @@ void CheckBox::ImplInitSettings( bool bFont,
}
}
-void CheckBox::ImplLoadRes( const ResId& rResId )
-{
- Button::ImplLoadRes( rResId );
-
- sal_uInt16 nChecked = ReadShortRes();
- //anderer Wert als Default ?
- if( nChecked )
- Check();
-}
-
void CheckBox::ImplDrawCheckBoxState(vcl::RenderContext& rRenderContext)
{
bool bNativeOK = true;