Clear --> ClearBackground
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d139c3a84b
commit
e71fd398b8
@ -902,7 +902,7 @@ void wxPrintPreviewBase::SetZoom(int percent)
|
||||
AdjustScrollbars(m_previewCanvas);
|
||||
RenderPage(m_currentPage);
|
||||
((wxScrolledWindow *) m_previewCanvas)->Scroll(0, 0);
|
||||
m_previewCanvas->Clear();
|
||||
m_previewCanvas->ClearBackground();
|
||||
m_previewCanvas->Refresh();
|
||||
m_previewCanvas->SetFocus();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user