diff --git a/samples/mfc/mfctest.cpp b/samples/mfc/mfctest.cpp index a63f85ca91..1bc447dae4 100644 --- a/samples/mfc/mfctest.cpp +++ b/samples/mfc/mfctest.cpp @@ -297,6 +297,7 @@ wxEND_EVENT_TABLE() MyCanvas::MyCanvas(wxWindow *parent, const wxPoint& pos, const wxSize& size) : wxScrolledWindow(parent, -1, pos, size) { + MSWDisableComposited(); } // Define the repainting behaviour