]> git.saurik.com Git - wxWidgets.git/blame - include/wx/xrc/xh_bmpbt.h
implemented GetBestSize() (TODO: make this available in generic version as well)
[wxWidgets.git] / include / wx / xrc / xh_bmpbt.h
CommitLineData
b008b592
VS
1/////////////////////////////////////////////////////////////////////////////
2// Name: xh_bmpbt.h
3// Purpose: XML resource handler for bitmap buttons
4// Author: Brian Gavin
5// Created: 2000/03/05
6// RCS-ID: $Id$
7// Copyright: (c) 2000 Brian Gavin
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_XH_BMPBT_H_
12#define _WX_XH_BMPBT_H_
13
999d9a9f 14#include "wx/xrc/xmlres.h"
b008b592 15
621be1ec 16#if wxUSE_XRC
da86e177 17
b008b592 18
30dc3455 19class WXDLLIMPEXP_XRC wxBitmapButtonXmlHandler : public wxXmlResourceHandler
b008b592 20{
854e189f 21DECLARE_DYNAMIC_CLASS(wxBitmapButtonXmlHandler)
eb8671f2
VS
22public:
23 wxBitmapButtonXmlHandler();
24 virtual wxObject *DoCreateResource();
25 virtual bool CanHandle(wxXmlNode *node);
b008b592
VS
26};
27
621be1ec 28#endif // wxUSE_XRC
da86e177 29
b008b592
VS
30
31#endif // _WX_XH_BMPBT_H_