X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cf858bab79c18d709b3fa3375202c2ddf3d599e5..c6ea1fdaf924be4ee49a19d12f76e4fcd257bb0a:/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); };