X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5aaabb37107a52c9c28438fea8e3f81c12cd759e..d11e8786ed13b72766eea18cb577cc00f9f08f41:/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