Create underlying bitmap for caret when it is explicitly created

wxCaret::Create implies a size change, so call DoSize to initialize
the underlying wxBitmap.
This commit is contained in:
Stefan Brüns 2020-08-31 16:45:20 +02:00
parent d87abd132e
commit b8a4b96243

View File

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