projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0027543: Samples - flickering when view is resized in MFC samples
[occt.git]
/
samples
/
mfc
/
standard
/
01_Geometry
/
src
/
GeometryView2D.cpp
diff --git
a/samples/mfc/standard/01_Geometry/src/GeometryView2D.cpp
b/samples/mfc/standard/01_Geometry/src/GeometryView2D.cpp
index
feaa1e4
..
e46af68
100755
(executable)
--- a/
samples/mfc/standard/01_Geometry/src/GeometryView2D.cpp
+++ b/
samples/mfc/standard/01_Geometry/src/GeometryView2D.cpp
@@
-276,8
+276,9
@@
void CGeometryView2D::OnMouseMove(UINT nFlags, CPoint point)
}
}
-void CGeometryView2D::OnSize(UINT
/*nType*/, int /*cx*/, int /*cy*/)
+void CGeometryView2D::OnSize(UINT
nType, int cx, int cy)
{
+ OCC_2dView::OnSize (nType, cx, cy);
if (!myV2dView.IsNull())
{
myV2dView->MustBeResized(); // added sro