added wxTextEntry::DoGetValue() to allow returning empty string if the control currently contains hint text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -184,7 +184,7 @@ void wxTextEntry::WriteText(const wxString& text)
|
||||
::SendMessage(GetEditHwnd(), EM_REPLACESEL, 0, (LPARAM)text.wx_str());
|
||||
}
|
||||
|
||||
wxString wxTextEntry::GetValue() const
|
||||
wxString wxTextEntry::DoGetValue() const
|
||||
{
|
||||
return wxGetWindowText(GetEditHWND());
|
||||
}
|
||||
|
Reference in New Issue
Block a user