// 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 <vadim@wxwidgets.org>
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
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,
)
#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);
};