diff options
Diffstat (limited to 'extensions/source/abpilot/typeselectionpage.cxx')
-rw-r--r-- | extensions/source/abpilot/typeselectionpage.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/extensions/source/abpilot/typeselectionpage.cxx b/extensions/source/abpilot/typeselectionpage.cxx index 90bdf31a0ce7..bf2e9b2e02ea 100644 --- a/extensions/source/abpilot/typeselectionpage.cxx +++ b/extensions/source/abpilot/typeselectionpage.cxx @@ -133,7 +133,7 @@ namespace abp m_aAllTypes.push_back( ButtonItem( m_pOE, AST_OE, bWithMozilla ) ); m_aAllTypes.push_back( ButtonItem( m_pOther, AST_OTHER, true ) ); - Link<> aTypeSelectionHandler = LINK(this, TypeSelectionPage, OnTypeSelected ); + Link<Button*,void> aTypeSelectionHandler = LINK(this, TypeSelectionPage, OnTypeSelected ); for ( ::std::vector< ButtonItem >::const_iterator loop = m_aAllTypes.begin(); loop != m_aAllTypes.end(); ++loop ) { @@ -262,11 +262,10 @@ namespace abp } - IMPL_LINK_NOARG( TypeSelectionPage, OnTypeSelected ) + IMPL_LINK_NOARG_TYPED( TypeSelectionPage, OnTypeSelected, Button*, void ) { getDialog()->typeSelectionChanged( getSelectedType() ); updateDialogTravelUI(); - return 0L; } |