X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/21c6080db7c3abb60ac0143da009339225d69868..e56d25204f03b9046f883f37f00e890b7b643fe6:/include/wx/msw/statbox.h diff --git a/include/wx/msw/statbox.h b/include/wx/msw/statbox.h index 836de6c3bf..f7bd94c572 100644 --- a/include/wx/msw/statbox.h +++ b/include/wx/msw/statbox.h @@ -61,7 +61,7 @@ protected: virtual void MSWGetRegionWithoutSelf(WXHRGN hrgn, int w, int h); // paint the given rectangle with our background brush/colour - void PaintBackground(wxDC& dc, const struct tagRECT& rc); + virtual void PaintBackground(wxDC& dc, const struct tagRECT& rc); // paint the foreground of the static box virtual void PaintForeground(wxDC& dc, const struct tagRECT& rc);