1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxBitmapComboBox base header
4 // Author: Jaakko Salli
6 // Created: Aug-31-2006
7 // Copyright: (c) Jaakko Salli
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_BMPCBOX_H_BASE_
13 #define _WX_BMPCBOX_H_BASE_
18 #if wxUSE_BITMAPCOMBOBOX
20 #include "wx/bitmap.h"
23 extern WXDLLIMPEXP_DATA_ADV(const wxChar
) wxBitmapComboBoxNameStr
[];
26 class WXDLLIMPEXP_ADV wxBitmapComboBoxBase
30 wxBitmapComboBoxBase() { }
32 virtual ~wxBitmapComboBoxBase() { }
34 // Returns the image of the item with the given index.
35 virtual wxBitmap
GetItemBitmap(unsigned int n
) const = 0;
37 // Sets the image for the given item.
38 virtual void SetItemBitmap(unsigned int n
, const wxBitmap
& bitmap
) = 0;
40 // Returns size of the image used in list
41 virtual wxSize
GetBitmapSize() const = 0;
45 #include "wx/generic/bmpcbox.h"
47 #endif // wxUSE_BITMAPCOMBOBOX
49 #endif // _WX_BMPCBOX_H_BASE_