Add support for wxSTB_ELLIPSIZE_* and for wxSTB_SHOW_TIPS flags under wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -462,7 +462,9 @@ void wxRadioBox::DoSetItemToolTip(unsigned int item, wxToolTip *tooltip)
|
||||
if ( tooltip != NULL )
|
||||
tooltip->Add(hwndRbtn);
|
||||
else // unset the tooltip
|
||||
wxToolTip::Remove(hwndRbtn);
|
||||
wxToolTip::Remove(hwndRbtn, 0, wxRect(0,0,0,0));
|
||||
// the second parameter can be zero since it's ignored by Remove()
|
||||
// as we pass a rect for which wxRect::IsEmpty()==true...
|
||||
}
|
||||
|
||||
#endif // wxUSE_TOOLTIPS
|
||||
|
Reference in New Issue
Block a user