CVS tags cleaning (with other minor cleaning).
[wxWidgets.git] / include / wx / bmpcbox.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/bmpcbox.h
3 // Purpose: wxBitmapComboBox base header
4 // Author: Jaakko Salli
5 // Modified by:
6 // Created: Aug-31-2006
7 // Copyright: (c) Jaakko Salli
8 // RCS-ID: $Id$
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_BMPCBOX_H_BASE_
13 #define _WX_BMPCBOX_H_BASE_
14
15
16 #include "wx/defs.h"
17
18 #if wxUSE_BITMAPCOMBOBOX
19
20 #include "wx/bitmap.h"
21
22
23 extern WXDLLIMPEXP_DATA_ADV(const wxChar) wxBitmapComboBoxNameStr[];
24
25
26 class WXDLLIMPEXP_ADV wxBitmapComboBoxBase
27 {
28 public:
29 // ctors and such
30 wxBitmapComboBoxBase() { }
31
32 virtual ~wxBitmapComboBoxBase() { }
33
34 // Returns the image of the item with the given index.
35 virtual wxBitmap GetItemBitmap(unsigned int n) const = 0;
36
37 // Sets the image for the given item.
38 virtual void SetItemBitmap(unsigned int n, const wxBitmap& bitmap) = 0;
39
40 // Returns size of the image used in list
41 virtual wxSize GetBitmapSize() const = 0;
42 };
43
44
45 #include "wx/generic/bmpcbox.h"
46
47 #endif // wxUSE_BITMAPCOMBOBOX
48
49 #endif // _WX_BMPCBOX_H_BASE_