X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/90230407984b0bbe9d6ed6ae6dc2376700ef1d42..661698e54f2bc599dc1a961ffbae08ccdd6b9b97:/include/wx/panel.h diff --git a/include/wx/panel.h b/include/wx/panel.h index bb93a5771b..8f22d180fe 100644 --- a/include/wx/panel.h +++ b/include/wx/panel.h @@ -52,26 +52,11 @@ public: const wxString& name = wxPanelNameStr); - // Use the given bitmap to tile the background of this panel. This bitmap - // will show through any transparent children. - // - // Notice that you must not prevent the base class EVT_ERASE_BACKGROUND - // handler from running (i.e. not to handle this event yourself) for this - // to work. - void SetBackgroundBitmap(const wxBitmap& bmp) - { - DoSetBackgroundBitmap(bmp); - } - - // implementation from now on // -------------------------- virtual void InitDialog(); -protected: - virtual void DoSetBackgroundBitmap(const wxBitmap& bmp) = 0; - private: wxDECLARE_NO_COPY_CLASS(wxPanelBase); };