X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/906c935a80b10d53cecf57f71ab5f3f4f1d529ec..9c34a216817028bc533e07873d047208a96b05a2:/include/wx/panel.h?ds=sidebyside 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); };