]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/control.cpp
VTK wrapper of vtkRenderWindow for wxPython. Tested on MSW so far.
[wxWidgets.git] / src / mac / carbon / control.cpp
index 220ff1e0a9d84e917fdd2e01d26e417a33794a85..037d95784fd494f9aa25cabd3953a27c1af8678a 100644 (file)
@@ -587,6 +587,14 @@ void wxControl::OnPaint(wxPaintEvent& event)
                // wxWindow::OnPaint( event ) ;
        }
 }
+void wxControl::OnEraseBackground(wxEraseEvent& event)
+{
+    // In general, you don't want to erase the background of a control,
+    // or you'll get a flicker.
+    // TODO: move this 'null' function into each control that
+    // might flicker.
+}
+
 
 void  wxControl::OnKeyDown( wxKeyEvent &event ) 
 {