X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd95f7e65c4e1ee61a5d90eb13687ff468cb13ad..49a63afbad7646668df343d29edd88458bc7e0a9:/include/wx/univ/panel.h?ds=sidebyside diff --git a/include/wx/univ/panel.h b/include/wx/univ/panel.h index f6bd7c2137..29537e48dd 100644 --- a/include/wx/univ/panel.h +++ b/include/wx/univ/panel.h @@ -3,7 +3,7 @@ // Purpose: wxUniversal-specific wxPanel class. // Author: Vadim Zeitlin // Created: 2011-03-18 -// RCS-ID: $Id: wxhead.h,v 1.12 2010-04-22 12:44:51 zeitlin Exp $ +// RCS-ID: $Id$ // Copyright: (c) 2011 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -32,7 +32,7 @@ public: virtual bool IsCanvasWindow() const { return true; } -#ifdef WXWIN_COMPATIBILITY_2_8 +#if WXWIN_COMPATIBILITY_2_8 wxDEPRECATED_CONSTRUCTOR( wxPanel(wxWindow *parent, int x, int y, int width, int height, @@ -44,13 +44,6 @@ 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); };