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
31 wxBitmapComboBoxBase() { }
33 virtual ~wxBitmapComboBoxBase() { }
35 // Returns the image of the item with the given index.
36 virtual wxBitmap
GetItemBitmap(unsigned int n
) const = 0;
38 // Sets the image for the given item.
39 virtual void SetItemBitmap(unsigned int n
, const wxBitmap
& bitmap
) = 0;
41 // Returns size of the image used in list
42 virtual wxSize
GetBitmapSize() const = 0;
50 #if defined(__WXUNIVERSAL__)
51 #include "wx/generic/bmpcbox.h"
53 #include "wx/generic/bmpcbox.h"
56 #endif // wxUSE_BITMAPCOMBOBOX
59 // _WX_BMPCBOX_H_BASE_