summaryrefslogtreecommitdiff
path: root/vcl/source/control/button.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/button.cxx')
-rw-r--r--vcl/source/control/button.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 5ab14d2c2db2..8469407dfc57 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -1857,6 +1857,10 @@ WinBits RadioButton::ImplInitStyle( const vcl::Window* pPrevWindow, WinBits nSty
nStyle |= WB_GROUP;
if ( !(nStyle & WB_NOTABSTOP) )
nStyle |= WB_TABSTOP;
+
+ if ( IsChecked() && IsRadioCheckEnabled() )
+ ImplUncheckAllOther();
+
return nStyle;
}