X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cf858bab79c18d709b3fa3375202c2ddf3d599e5..c9ccc09c64f4c29d4667796bef7b507d9e8d25ed:/include/wx/univ/panel.h diff --git a/include/wx/univ/panel.h b/include/wx/univ/panel.h index 19f0d52dc0..f6bd7c2137 100644 --- a/include/wx/univ/panel.h +++ b/include/wx/univ/panel.h @@ -44,6 +44,13 @@ public: ) #endif // WXWIN_COMPATIBILITY_2_8 +protected: + virtual void DoSetBackgroundBitmap(const wxBitmap& bmp) + { + // We have support for background bitmap even at the base class level. + SetBackground(bmp, wxALIGN_NOT, wxTILE); + } + private: wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel); };