diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-19 09:11:34 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-26 11:15:35 +0200 |
commit | 167bc621ef825ed5b961502fe9324a675ee34e42 (patch) | |
tree | 523838d8adc14a62f846529ee6eab3343b2fe87b /extensions/source/abpilot/abpfinalpage.cxx | |
parent | 46a27805fb707544a844a961a3743b8b992282f0 (diff) |
Convert vcl Button Link<> click handler to typed Link<Button*,void>
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
Diffstat (limited to 'extensions/source/abpilot/abpfinalpage.cxx')
-rw-r--r-- | extensions/source/abpilot/abpfinalpage.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/extensions/source/abpilot/abpfinalpage.cxx b/extensions/source/abpilot/abpfinalpage.cxx index 6c85546e8b5d..3226768e847a 100644 --- a/extensions/source/abpilot/abpfinalpage.cxx +++ b/extensions/source/abpilot/abpfinalpage.cxx @@ -218,22 +218,20 @@ namespace abp } - IMPL_LINK_NOARG(FinalPage, OnRegister) + IMPL_LINK_NOARG_TYPED(FinalPage, OnRegister, Button*, void) { bool bEnable = m_pRegisterName->IsChecked(); m_pNameLabel->Enable(bEnable); m_pName->Enable(bEnable); implCheckName(); - return 0L; } - IMPL_LINK_NOARG(FinalPage, OnEmbed) + IMPL_LINK_NOARG_TYPED(FinalPage, OnEmbed, Button*, void) { bool bEmbed = m_pEmbed->IsChecked(); m_pLocationLabel->Enable(!bEmbed); m_pLocation->Enable(!bEmbed); m_pBrowse->Enable(!bEmbed); - return 0L; } } // namespace abp |