No real changes, just use clearer names for wxMSW wxToolTip methods.
Rename wxToolTip::DoAddOtherWindow() to DoAddHWND() as it should be used for adding any window associated with the tooltip, either the main or an auxiliary one. And rename wxToolTip::Add() to AddOtherWindow() because it shouldn't be used for the main window. See #14184. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -604,7 +604,7 @@ void wxSpinCtrl::DoSetToolTip(wxToolTip *tip)
|
||||
wxSpinButton::DoSetToolTip(tip);
|
||||
|
||||
if ( tip )
|
||||
tip->Add(m_hwndBuddy);
|
||||
tip->AddOtherWindow(m_hwndBuddy);
|
||||
}
|
||||
|
||||
#endif // wxUSE_TOOLTIPS
|
||||
|
Reference in New Issue
Block a user