moved DoSetValue() to wxTextCtrlBase instead of having it in almost, but not quite all, derived classes; linking fixes for wxCocoa/wxX11/wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -240,7 +240,7 @@ wxString wxTextCtrl::GetValue() const
|
||||
return str;
|
||||
}
|
||||
|
||||
void wxTextCtrl::ChangeValue(const wxString& text)
|
||||
void wxTextCtrl::DoSetValue(const wxString& text, int flags)
|
||||
{
|
||||
m_inSetValue = true;
|
||||
|
||||
@@ -254,6 +254,9 @@ void wxTextCtrl::ChangeValue(const wxString& text)
|
||||
m_modified = true;
|
||||
|
||||
m_inSetValue = false;
|
||||
|
||||
if ( flags & SetValue_SendEvent )
|
||||
SendTextUpdatedEvent();
|
||||
}
|
||||
|
||||
// Clipboard operations
|
||||
|
Reference in New Issue
Block a user