From dbd1c07c679e2ad06fb0e4eed7b09b2f6fb24156 Mon Sep 17 00:00:00 2001 From: Tats Date: Fri, 15 Nov 2013 12:08:09 +0100 Subject: [PATCH] Refresh destination canvas on source canvas change --- prototypes/wx-02-input-output/MapperGLCanvas.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/prototypes/wx-02-input-output/MapperGLCanvas.cpp b/prototypes/wx-02-input-output/MapperGLCanvas.cpp index 73a9067..02594ca 100644 --- a/prototypes/wx-02-input-output/MapperGLCanvas.cpp +++ b/prototypes/wx-02-input-output/MapperGLCanvas.cpp @@ -40,6 +40,7 @@ MapperGLCanvas::MapperGLCanvas(wxFrame *parent) : } void MapperGLCanvas::Paintit(wxPaintEvent& WXUNUSED(event)) { + GetParent()->Refresh(); Render(); }