support for hints, fixing textfield implementation on iOS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -684,6 +684,13 @@ void wxNSTextFieldControl::controlAction(WXWidget WXUNUSED(slf),
|
||||
}
|
||||
}
|
||||
|
||||
bool wxNSTextFieldControl::SetHint(const wxString& hint)
|
||||
{
|
||||
wxCFStringRef hintstring(hint);
|
||||
[[m_textField cell] setPlaceholderString:hintstring.AsNSString()];
|
||||
return true;
|
||||
}
|
||||
|
||||
//
|
||||
//
|
||||
//
|
||||
|
Reference in New Issue
Block a user