2006-09-23 09:14:49 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/bmpcbox.h
|
|
|
|
// Purpose: wxBitmapComboBox base header
|
|
|
|
// Author: Jaakko Salli
|
|
|
|
// Modified by:
|
|
|
|
// Created: Aug-31-2006
|
|
|
|
// Copyright: (c) Jaakko Salli
|
2006-10-16 09:30:01 +00:00
|
|
|
// RCS-ID: $Id$
|
2006-09-23 09:14:49 +00:00
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_BMPCBOX_H_BASE_
|
|
|
|
#define _WX_BMPCBOX_H_BASE_
|
|
|
|
|
|
|
|
|
|
|
|
#include "wx/defs.h"
|
|
|
|
|
|
|
|
#if wxUSE_BITMAPCOMBOBOX
|
|
|
|
|
|
|
|
#include "wx/bitmap.h"
|
|
|
|
|
|
|
|
|
|
|
|
extern WXDLLIMPEXP_DATA_ADV(const wxChar) wxBitmapComboBoxNameStr[];
|
|
|
|
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_ADV wxBitmapComboBoxBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// ctors and such
|
|
|
|
wxBitmapComboBoxBase() { }
|
|
|
|
|
|
|
|
virtual ~wxBitmapComboBoxBase() { }
|
|
|
|
|
|
|
|
// Returns the image of the item with the given index.
|
|
|
|
virtual wxBitmap GetItemBitmap(unsigned int n) const = 0;
|
|
|
|
|
|
|
|
// Sets the image for the given item.
|
|
|
|
virtual void SetItemBitmap(unsigned int n, const wxBitmap& bitmap) = 0;
|
|
|
|
|
|
|
|
// Returns size of the image used in list
|
|
|
|
virtual wxSize GetBitmapSize() const = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2006-09-24 13:18:23 +00:00
|
|
|
#include "wx/generic/bmpcbox.h"
|
2006-09-23 09:14:49 +00:00
|
|
|
|
|
|
|
#endif // wxUSE_BITMAPCOMBOBOX
|
|
|
|
|
2006-09-24 13:18:23 +00:00
|
|
|
#endif // _WX_BMPCBOX_H_BASE_
|