]> git.saurik.com Git - wxWidgets.git/blob - include/wx/xrc/xh_bannerwindow.h
Ensure wxCharTypeBuffer data is NUL-terminated after extend() call.
[wxWidgets.git] / include / wx / xrc / xh_bannerwindow.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/xrc/xh_bannerwindow.h
3 // Purpose: Declaration of wxBannerWindow XRC handler.
4 // Author: Vadim Zeitlin
5 // Created: 2011-08-16
6 // RCS-ID: $Id$
7 // Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_XH_BANNERWINDOW_H_
12 #define _WX_XH_BANNERWINDOW_H_
13
14 #include "wx/xrc/xmlres.h"
15
16 #if wxUSE_XRC && wxUSE_BANNERWINDOW
17
18 class WXDLLIMPEXP_XRC wxBannerWindowXmlHandler : public wxXmlResourceHandler
19 {
20 public:
21 wxBannerWindowXmlHandler();
22
23 virtual wxObject *DoCreateResource();
24 virtual bool CanHandle(wxXmlNode *node);
25
26 wxDECLARE_DYNAMIC_CLASS(wxBannerWindowXmlHandler);
27 };
28
29 #endif // wxUSE_XRC && wxUSE_BANNERWINDOW
30
31 #endif // _WX_XH_BANNERWINDOW_H_