!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:
@@ -81,12 +81,14 @@ wxObject *wxRadioBoxXmlHandler::DoCreateResource()
|
|||||||
|
|
||||||
SetupWindow(control);
|
SetupWindow(control);
|
||||||
|
|
||||||
|
#if wxUSE_TOOLTIPS
|
||||||
const unsigned count = labels.size();
|
const unsigned count = labels.size();
|
||||||
for( unsigned i = 0; i < count; i++ )
|
for( unsigned i = 0; i < count; i++ )
|
||||||
{
|
{
|
||||||
if ( !tooltips[i].empty() )
|
if ( !tooltips[i].empty() )
|
||||||
control->SetItemToolTip(i, tooltips[i]);
|
control->SetItemToolTip(i, tooltips[i]);
|
||||||
}
|
}
|
||||||
|
#endif // wxUSE_TOOLTIPS
|
||||||
|
|
||||||
labels.clear(); // dump the strings
|
labels.clear(); // dump the strings
|
||||||
tooltips.clear(); // dump the tooltips
|
tooltips.clear(); // dump the tooltips
|
||||||
|
Reference in New Issue
Block a user