]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/glcanvas/samples/isosurf/isosurf.cpp
My last patch for status bar size events wasn't perfect
[wxWidgets.git] / utils / glcanvas / samples / isosurf / isosurf.cpp
index f16ea041c8a50d7c32aed58c56503930363f1d61..fe456fa33da98b31c625ed7f1ff8bcd99e6676b8 100644 (file)
@@ -387,7 +387,7 @@ void TestGLCanvas::OnChar(wxKeyEvent& event)
        break;
     }
 
-    Refresh();
+    Refresh(FALSE);
 }
 
 void TestGLCanvas::OnMouseEvent(wxMouseEvent& event)
@@ -402,7 +402,7 @@ void TestGLCanvas::OnMouseEvent(wxMouseEvent& event)
        } else {
            yrot += (event.GetX() - last_x)*1.0;
            xrot += (event.GetY() - last_y)*1.0;
-           Refresh();
+           Refresh(FALSE);
        }
        last_x = event.GetX();
        last_y = event.GetY();