]> git.saurik.com Git - wxWidgets.git/blame - include/wx/bmpcbox.h
porting reordering of controls back from 2.8
[wxWidgets.git] / include / wx / bmpcbox.h
CommitLineData
95a46303
RR
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
1c4e8f38 8// RCS-ID: $Id$
95a46303
RR
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
23extern WXDLLIMPEXP_DATA_ADV(const wxChar) wxBitmapComboBoxNameStr[];
24
25
26class WXDLLIMPEXP_ADV wxBitmapComboBoxBase
27{
28public:
95a46303
RR
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;
95a46303
RR
42};
43
44
8d37334f 45#include "wx/generic/bmpcbox.h"
95a46303
RR
46
47#endif // wxUSE_BITMAPCOMBOBOX
48
8d37334f 49#endif // _WX_BMPCBOX_H_BASE_