X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d64ad2c7e18f23ae0d6458a009bf832c04dde2aa..2240b1aa740739e35e646016511fc8a3302104a4:/src/xrc/xh_radbx.cpp?ds=sidebyside 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