From 7577ac4b5c56d384441b995b4cea3b24d5fc441e Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Fri, 5 May 2006 09:42:21 +0000 Subject: [PATCH] !wxUSE_TOOLTIPS build fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/xrc/xh_radbx.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xrc/xh_radbx.cpp b/src/xrc/xh_radbx.cpp index 9beea7ba9d..83be9a2d29 100644 --- a/src/xrc/xh_radbx.cpp +++ b/src/xrc/xh_radbx.cpp @@ -81,12 +81,14 @@ wxObject *wxRadioBoxXmlHandler::DoCreateResource() SetupWindow(control); +#if wxUSE_TOOLTIPS const unsigned count = labels.size(); for( unsigned i = 0; i < count; i++ ) { if ( !tooltips[i].empty() ) control->SetItemToolTip(i, tooltips[i]); } +#endif // wxUSE_TOOLTIPS labels.clear(); // dump the strings tooltips.clear(); // dump the tooltips -- 2.45.2