Fixed a refresh problem when using scrollbars.
This commit is contained in:
parent
ab468e20dc
commit
c4ed10299a
|
@ -571,6 +571,8 @@ void WinEDA_DrawPanel::OnPaint( wxPaintEvent& event )
|
||||||
wxRect PaintClipBox;
|
wxRect PaintClipBox;
|
||||||
wxPoint org;
|
wxPoint org;
|
||||||
|
|
||||||
|
SetBoundaryBox();
|
||||||
|
|
||||||
tmp = m_ClipBox;
|
tmp = m_ClipBox;
|
||||||
|
|
||||||
org = m_ClipBox.GetOrigin();
|
org = m_ClipBox.GetOrigin();
|
||||||
|
|
Loading…
Reference in New Issue