X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ee2ec18e88701d8f0709009616584153ca85d7a7..8e7cb70ce34a3ba10fed3a7a708d66543eb314a6:/include/wx/msw/textctrl.h diff --git a/include/wx/msw/textctrl.h b/include/wx/msw/textctrl.h index 028032725d..ec1a9e0b4f 100644 --- a/include/wx/msw/textctrl.h +++ b/include/wx/msw/textctrl.h @@ -231,7 +231,8 @@ protected: // replace the contents of the selection or of the entire control with the // given text - void DoWriteText(const wxString& text, int flags = SetValue_SelectionOnly); + void DoWriteText(const wxString& text, + int flags = SetValue_SendEvent | SetValue_SelectionOnly); // set the selection possibly without scrolling the caret into view void DoSetSelection(long from, long to, bool scrollCaret = true);