Fixed refresh bug in border preview control when resizing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2013-11-18 07:49:07 +00:00
parent 89392699d7
commit e1822d09db

View File

@@ -1344,6 +1344,9 @@ void wxRichTextBorderPreviewCtrl::OnPaint(wxPaintEvent& WXUNUSED(event))
{
wxPaintDC dc(this);
dc.SetBackground(*wxWHITE_BRUSH);
dc.Clear();
if (m_attributes)
{
wxRect rect = GetClientRect();