hinting support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7f37eded21
commit
1cea736e03
@ -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
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user