Fixed refresh bug in border preview control when resizing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@75238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2013-11-18 07:49:14 +00:00
parent 73312a5048
commit c7af4603c0

View File

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