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