diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-01-07 21:19:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-01-09 11:40:53 +0000 |
commit | d9e3efbc0ed6193119565530e390a1c1c0a5f6b7 (patch) | |
tree | 6d010e3fea983ece69ed72b723f71319d3407d41 /cui/source | |
parent | f8a4ce67987e5cb47f07dc61eeb450e1d5b9c541 (diff) |
add a CloseButton to vcl for convenience
does exactly the same default action as a CancelButton except with "Close" as
the label
Change-Id: I538e8fc761cde4a1050d066ef935df1ecd930414
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/inc/SpellDialog.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/hyphen.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/scriptdlg.hxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/inc/SpellDialog.hxx b/cui/source/inc/SpellDialog.hxx index 5cfeeaa1ccc1..b7b4ef066724 100644 --- a/cui/source/inc/SpellDialog.hxx +++ b/cui/source/inc/SpellDialog.hxx @@ -151,7 +151,7 @@ private: PushButton* m_pOptionsPB; PushButton* m_pUndoPB; - PushButton* m_pClosePB; + CloseButton* m_pClosePB; OUString m_sResumeST; OUString m_sIgnoreOnceST; diff --git a/cui/source/inc/hyphen.hxx b/cui/source/inc/hyphen.hxx index 73c95b3f5ae1..816a00464696 100644 --- a/cui/source/inc/hyphen.hxx +++ b/cui/source/inc/hyphen.hxx @@ -51,7 +51,7 @@ class SvxHyphenWordDialog : public SfxModalDialog PushButton* m_pContBtn; PushButton* m_pDelBtn; PushButton* m_pHyphAll; - PushButton* m_pCloseBtn; + CloseButton* m_pCloseBtn; String aLabel; SvxSpellWrapper* pHyphWrapper; uno::Reference< linguistic2::XHyphenator > xHyphenator; diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx index bfbe49f59cc2..6364dbb06428 100644 --- a/cui/source/inc/scriptdlg.hxx +++ b/cui/source/inc/scriptdlg.hxx @@ -142,7 +142,7 @@ protected: SFTreeListBox* m_pScriptsBox; PushButton* m_pRunButton; - PushButton* m_pCloseButton; + CloseButton* m_pCloseButton; PushButton* m_pCreateButton; PushButton* m_pEditButton; PushButton* m_pRenameButton; |