X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e75491071dbefcada61175e3eb89ce4edf335983..1dd521517c6a7047dce77302cd35a7f07ee2f595:/src/mac/carbon/control.cpp diff --git a/src/mac/carbon/control.cpp b/src/mac/carbon/control.cpp index 220ff1e0a9..037d95784f 100644 --- a/src/mac/carbon/control.cpp +++ b/src/mac/carbon/control.cpp @@ -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 ) {