#ifndef _OWNERDRW_H
#define _OWNERDRW_H
-#include "wx/setup.h"
-
#if wxUSE_OWNER_DRAWN
#ifdef __GNUG__
#pragma interface "ownerdrw.h"
#endif
+#include "wx/bitmap.h"
+#include "wx/colour.h"
+#include "wx/font.h"
+
// ----------------------------------------------------------------------------
// wxOwnerDrawn - a mix-in base class, derive from it to implement owner-drawn
// behaviour
m_bmpUnchecked = bmpUnchecked;
m_bOwnerDrawn = TRUE; }
+ void SetBitmap(const wxBitmap& bmpChecked)
+ { m_bmpChecked = bmpChecked;
+ m_bOwnerDrawn = TRUE; }
+
const wxBitmap& GetBitmap(bool bChecked = TRUE) const
{ return (bChecked ? m_bmpChecked : m_bmpUnchecked); }