From 6337cacce92d9d3f3d453753102a152ace004b60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Skiba?= Date: Fri, 5 May 2006 07:10:24 +0000 Subject: [PATCH] Misplaced #ifdef ... #endif fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/radiocmn.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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