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, 2 insertions, 2 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index fb1a4a88bcdf..7bcea274c659 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -95,7 +95,7 @@ Button::Button( WindowType nType ) :
Button::~Button()
{
- dispose();
+ disposeOnce();
}
void Button::dispose()
@@ -2309,7 +2309,7 @@ void RadioButton::ImplLoadRes( const ResId& rResId )
RadioButton::~RadioButton()
{
- dispose();
+ disposeOnce();
}
void RadioButton::dispose()