deprecated wxWindow::SetHelpTextForId()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1150,9 +1150,13 @@ public:
|
||||
#if wxUSE_HELP
|
||||
// associate this help text with this window
|
||||
void SetHelpText(const wxString& text);
|
||||
// associate this help text with all windows with the same id as this
|
||||
// one
|
||||
void SetHelpTextForId(const wxString& text);
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_8
|
||||
// Associate this help text with all windows with the same id as this one.
|
||||
// Don't use this, do wxHelpProvider::Get()->AddHelp(id, text);
|
||||
wxDEPRECATED( void SetHelpTextForId(const wxString& text) );
|
||||
#endif // WXWIN_COMPATIBILITY_2_8
|
||||
|
||||
// get the help string associated with the given position in this window
|
||||
//
|
||||
// notice that pt may be invalid if event origin is keyboard or unknown
|
||||
|
@@ -1695,6 +1695,7 @@ void wxWindowBase::SetHelpText(const wxString& text)
|
||||
}
|
||||
}
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_8
|
||||
// associate this help text with all windows with the same id as this
|
||||
// one
|
||||
void wxWindowBase::SetHelpTextForId(const wxString& text)
|
||||
@@ -1705,6 +1706,7 @@ void wxWindowBase::SetHelpTextForId(const wxString& text)
|
||||
helpProvider->AddHelp(GetId(), text);
|
||||
}
|
||||
}
|
||||
#endif // WXWIN_COMPATIBILITY_2_8
|
||||
|
||||
// get the help string associated with this window (may be empty)
|
||||
// default implementation forwards calls to the help provider
|
||||
|
Reference in New Issue
Block a user