]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/textctrl.h
fixed crash in wxColour ctor after RGBA-ization
[wxWidgets.git] / include / wx / msw / textctrl.h
index 028032725d76cadd59244c7e75e7395754e0ffa5..ec1a9e0b4fdd8b538063bde6a13f64c41d1b537b 100644 (file)
@@ -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);