1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/univ/custombgwin.h
3 // Purpose: wxUniv implementation of wxCustomBackgroundWindow.
4 // Author: Vadim Zeitlin
6 // Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
7 // Licence: wxWindows licence
8 ///////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_UNIV_CUSTOMBGWIN_H_
11 #define _WX_UNIV_CUSTOMBGWIN_H_
13 // ----------------------------------------------------------------------------
14 // wxCustomBackgroundWindow
15 // ----------------------------------------------------------------------------
18 class wxCustomBackgroundWindow
: public W
,
19 public wxCustomBackgroundWindowBase
22 typedef W BaseWindowClass
;
24 wxCustomBackgroundWindow() { }
27 virtual void DoSetBackgroundBitmap(const wxBitmap
& bmp
)
29 // We have support for background bitmap even at the base class level.
30 BaseWindowClass::SetBackground(bmp
, wxALIGN_NOT
, wxTILE
);
33 wxDECLARE_NO_COPY_TEMPLATE_CLASS(wxCustomBackgroundWindow
, W
);
36 #endif // _WX_UNIV_CUSTOMBGWIN_H_