Merge branch 'fix-caret-default'

Fix using default-constructed wxCaret.

See https://github.com/wxWidgets/wxWidgets/pull/2007
This commit is contained in:
Vadim Zeitlin
2020-10-01 02:29:43 +02:00
3 changed files with 21 additions and 4 deletions

View File

@@ -153,6 +153,7 @@ protected:
m_window = window;
m_width = width;
m_height = height;
DoSize();
return true;
}