Fix setting tooltips for generic wxSpinCtrl.

Forward the tooltip set for the control to its subcontrols.

Closes #9817.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-03-15 11:10:38 +00:00
parent 8c40af9430
commit cb7ef329e7
3 changed files with 36 additions and 0 deletions

View File

@@ -82,6 +82,9 @@ public:
virtual bool Enable(bool enable = true);
virtual bool Show(bool show = true);
virtual bool Reparent(wxWindowBase *newParent);
#if wxUSE_TOOLTIPS
virtual void DoSetToolTip(wxToolTip *tip);
#endif // wxUSE_TOOLTIPS
// get the subcontrols
wxTextCtrl *GetText() const { return m_textCtrl; }