hinting support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -602,6 +602,21 @@ bool wxTextCtrl::MacSetupCursor( const wxPoint& pt )
|
|||||||
return true ;
|
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
|
// implementation base class
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user