1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/univ/custombgwin.h
3 // Purpose: wxUniv implementation of wxCustomBackgroundWindow.
4 // Author: Vadim Zeitlin
6 // RCS-ID: $Id: wxhead.h,v 1.12 2010-04-22 12:44:51 zeitlin Exp $
7 // Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_UNIV_CUSTOMBGWIN_H_
12 #define _WX_UNIV_CUSTOMBGWIN_H_
14 // ----------------------------------------------------------------------------
15 // wxCustomBackgroundWindow
16 // ----------------------------------------------------------------------------
19 class wxCustomBackgroundWindow
: public W
,
20 public wxCustomBackgroundWindowBase
23 typedef W BaseWindowClass
;
25 wxCustomBackgroundWindow() { }
28 virtual void DoSetBackgroundBitmap(const wxBitmap
& bmp
)
30 // We have support for background bitmap even at the base class level.
31 BaseWindowClass::SetBackground(bmp
, wxALIGN_NOT
, wxTILE
);
34 wxDECLARE_NO_COPY_TEMPLATE_CLASS(wxCustomBackgroundWindow
, W
);
37 #endif // _WX_UNIV_CUSTOMBGWIN_H_