!wxUSE_TOOLTIPS build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
76b49cf49b
commit
7577ac4b5c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user