hinting support

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2011-01-26 15:54:03 +00:00
parent 7f37eded21
commit 1cea736e03

View File

@ -602,6 +602,21 @@ bool wxTextCtrl::MacSetupCursor( const wxPoint& pt )
return true ;
}
bool wxTextCtrl::SetHint(const wxString& hint)
{
m_hintString = hint;
if ( GetTextPeer() && GetTextPeer()->SetHint(hint) )
return true;
return false;
}
wxString wxTextCtrl::GetHint() const
{
return m_hintString;
}
// ----------------------------------------------------------------------------
// implementation base class
// ----------------------------------------------------------------------------