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:
parent
d87abd132e
commit
b8a4b96243
@ -153,6 +153,7 @@ protected:
|
||||
m_window = window;
|
||||
m_width = width;
|
||||
m_height = height;
|
||||
DoSize();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user