diff --git a/include/wx/caret.h b/include/wx/caret.h index e6e9728ff8..b625b5f0ac 100644 --- a/include/wx/caret.h +++ b/include/wx/caret.h @@ -153,6 +153,7 @@ protected: m_window = window; m_width = width; m_height = height; + DoSize(); return true; }