]> git.saurik.com Git - wxWidgets.git/commitdiff
Ensure the caret flashes properly
authorRobin Dunn <robin@alldunn.com>
Wed, 10 Apr 2002 19:06:59 +0000 (19:06 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 10 Apr 2002 19:06:59 +0000 (19:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/stc/PlatWX.cpp
src/stc/PlatWX.cpp

index a8aa94c669b2547d6104a2ea7d5603cbf6159391..c4fcfb5123f2473035a918cbf320d0adce2e3062 100644 (file)
@@ -595,11 +595,13 @@ void Window::Show(bool show) {
 
 void Window::InvalidateAll() {
     GETWIN(id)->Refresh(false);
+    wxWakeUpIdle();
 }
 
 void Window::InvalidateRectangle(PRectangle rc) {
     wxRect r = wxRectFromPRectangle(rc);
     GETWIN(id)->Refresh(false, &r);
+    wxWakeUpIdle();
 }
 
 void Window::SetFont(Font &font) {
index a8aa94c669b2547d6104a2ea7d5603cbf6159391..c4fcfb5123f2473035a918cbf320d0adce2e3062 100644 (file)
@@ -595,11 +595,13 @@ void Window::Show(bool show) {
 
 void Window::InvalidateAll() {
     GETWIN(id)->Refresh(false);
+    wxWakeUpIdle();
 }
 
 void Window::InvalidateRectangle(PRectangle rc) {
     wxRect r = wxRectFromPRectangle(rc);
     GETWIN(id)->Refresh(false, &r);
+    wxWakeUpIdle();
 }
 
 void Window::SetFont(Font &font) {