]>
Commit | Line | Data |
---|---|---|
b008b592 | 1 | ///////////////////////////////////////////////////////////////////////////// |
e8a793f0 | 2 | // Name: wx/xrc/xh_bmpbt.h |
b008b592 VS |
3 | // Purpose: XML resource handler for bitmap buttons |
4 | // Author: Brian Gavin | |
5 | // Created: 2000/03/05 | |
b008b592 VS |
6 | // Copyright: (c) 2000 Brian Gavin |
7 | // Licence: wxWindows licence | |
8 | ///////////////////////////////////////////////////////////////////////////// | |
9 | ||
10 | #ifndef _WX_XH_BMPBT_H_ | |
11 | #define _WX_XH_BMPBT_H_ | |
12 | ||
e8a793f0 | 13 | #include "wx/xrc/xmlres.h" |
b008b592 | 14 | |
dd47af27 VZ |
15 | #if wxUSE_XRC && wxUSE_BMPBUTTON |
16 | ||
30dc3455 | 17 | class WXDLLIMPEXP_XRC wxBitmapButtonXmlHandler : public wxXmlResourceHandler |
b008b592 | 18 | { |
dd47af27 VZ |
19 | DECLARE_DYNAMIC_CLASS(wxBitmapButtonXmlHandler) |
20 | ||
eb8671f2 VS |
21 | public: |
22 | wxBitmapButtonXmlHandler(); | |
23 | virtual wxObject *DoCreateResource(); | |
24 | virtual bool CanHandle(wxXmlNode *node); | |
b008b592 VS |
25 | }; |
26 | ||
dd47af27 | 27 | #endif // wxUSE_XRC && wxUSE_BMPBUTTON |
b008b592 VS |
28 | |
29 | #endif // _WX_XH_BMPBT_H_ |