]> git.saurik.com Git - wxWidgets.git/blame - include/wx/xrc/xh_bmpcbox.h
add a radio box to select the combobox type (#9845)
[wxWidgets.git] / include / wx / xrc / xh_bmpcbox.h
CommitLineData
95a46303
RR
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/xrc/xh_bmpcbox.h
3// Purpose: XML resource handler for wxBitmapComboBox
4// Author: Jaakko Salli
5// Created: Sep-10-2006
1c4e8f38 6// RCS-ID: $Id$
95a46303
RR
7// Copyright: (c) 2006 Jaakko Salli
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_XH_BMPCBOX_H_
12#define _WX_XH_BMPCBOX_H_
13
14#include "wx/xrc/xmlres.h"
15
dd47af27 16#if wxUSE_XRC && wxUSE_BITMAPCOMBOBOX
95a46303 17
b5dbe15d 18class WXDLLIMPEXP_FWD_ADV wxBitmapComboBox;
95a46303
RR
19
20class WXDLLIMPEXP_XRC wxBitmapComboBoxXmlHandler : public wxXmlResourceHandler
21{
22 DECLARE_DYNAMIC_CLASS(wxBitmapComboBoxXmlHandler)
dd47af27 23
95a46303
RR
24public:
25 wxBitmapComboBoxXmlHandler();
26 virtual wxObject *DoCreateResource();
27 virtual bool CanHandle(wxXmlNode *node);
dd47af27 28
95a46303
RR
29private:
30 wxBitmapComboBox* m_combobox;
31 bool m_isInside;
32};
33
dd47af27 34#endif // wxUSE_XRC && wxUSE_BITMAPCOMBOBOX
95a46303
RR
35
36#endif // _WX_XH_BMPCBOX_H_