]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/caret.cpp
ROP changes.
[wxWidgets.git] / src / msw / caret.cpp
index 5378bc1f8f898f423fd92939e6efb2d74b8bc449..cacc6801f5128bac973e5c83bb454e2b05f7a1a4 100644 (file)
@@ -160,3 +160,19 @@ void wxCaret::DoMove()
     }
     //else: we don't have caret right now, nothing to do (this does happen)
 }
+
+
+// ---------------------------------------------------------------------------
+// resizing the caret
+// ---------------------------------------------------------------------------
+
+void wxCaret::DoSize()
+{
+    if ( m_hasCaret )
+    {
+        m_hasCaret = FALSE;
+        CALL_CARET_API(DestroyCaret, ());
+        MSWCreateCaret();
+        DoMove();
+    }
+}