diff options
Diffstat (limited to 'vcl/source/control')
-rw-r--r-- | vcl/source/control/button.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index 82d037892201..8ad4c6cb6324 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -1866,6 +1866,13 @@ void CancelButton::Click() } } +CloseButton::CloseButton( Window* pParent, WinBits nStyle ) + : CancelButton(pParent, nStyle) +{ + SetText( Button::GetStandardText( BUTTON_CLOSE ) ); + SetHelpText( Button::GetStandardHelpText( BUTTON_CLOSE ) ); +} + // ======================================================================= void HelpButton::ImplInit( Window* pParent, WinBits nStyle ) |