]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/stc.cpp
The style listbox now takes into account the style background colour if specified.
[wxWidgets.git] / src / stc / stc.cpp
index f1cfe240df12143c2a2738950b5db81104d317a7..d4190e23fbb7f7c4a1f7642a893a0128c06581c6 100644 (file)
@@ -4387,7 +4387,7 @@ void wxStyledTextCtrl::DoSetValue(const wxString& value, int flags)
     else
         SetText(value);
 
-    // We don't send wxEVT_COMMAND_TEXT_UPDATED anyhow, so ignore the
+    // We don't send wxEVT_TEXT anyhow, so ignore the
     // SetValue_SendEvent bit of the flags
 }
 
@@ -4509,7 +4509,7 @@ bool wxStyledTextCtrl::GetUseAntiAliasing() {
 }
 
 void wxStyledTextCtrl::AnnotationClearLine(int line) {
-    SendMsg(SCI_ANNOTATIONSETTEXT, line, NULL);
+    SendMsg(SCI_ANNOTATIONSETTEXT, line, (sptr_t)NULL);
 }