X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c670c85582ca995105f14a6c62b54c580582f624..41f44cca0a5130f104aaeefad1f07a39a1491c0f:/src/common/radiocmn.cpp diff --git a/src/common/radiocmn.cpp b/src/common/radiocmn.cpp index 1703e168a1..b236ec9f17 100644 --- a/src/common/radiocmn.cpp +++ b/src/common/radiocmn.cpp @@ -212,8 +212,11 @@ wxRadioBoxBase::DoSetItemToolTip(unsigned int WXUNUSED(item), // per-item tooltips not implemented by default } +#endif // wxUSE_TOOLTIPS + wxRadioBoxBase::~wxRadioBoxBase() { +#if wxUSE_TOOLTIPS if ( m_itemsTooltips ) { const size_t n = m_itemsTooltips->size(); @@ -222,9 +225,8 @@ wxRadioBoxBase::~wxRadioBoxBase() delete m_itemsTooltips; } -} - #endif // wxUSE_TOOLTIPS +} #if WXWIN_COMPATIBILITY_2_4