X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5aaabb37107a52c9c28438fea8e3f81c12cd759e..c27bcbd5a7cec9f03b15c69824da99c5bb75924a:/include/wx/msw/control.h diff --git a/include/wx/msw/control.h b/include/wx/msw/control.h index d00396b335..ab32c80c76 100644 --- a/include/wx/msw/control.h +++ b/include/wx/msw/control.h @@ -133,7 +133,7 @@ protected: // common part of the 3 functions above: pass wxNullColour to use the // appropriate background colour (meaning ours or our parents) or a fixed // one - WXHBRUSH DoMSWControlColor(WXHDC pDC, wxColour colBg); + virtual WXHBRUSH DoMSWControlColor(WXHDC pDC, wxColour colBg); // another WM_CTLCOLOR-related function: override this to return the brush // which should be used to paint the control background by default