!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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue