From: Włodzimierz Skiba Date: Fri, 5 May 2006 07:10:24 +0000 (+0000) Subject: Misplaced #ifdef ... #endif fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6337cacce92d9d3f3d453753102a152ace004b60?ds=inline Misplaced #ifdef ... #endif fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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