#ifndef _WX_UNIV_STATBMP_H_
#define _WX_UNIV_STATBMP_H_
-#ifdef __GNUG__
- #pragma interface "statbmp.h"
-#endif
-
#include "wx/bitmap.h"
// ----------------------------------------------------------------------------
// wxStaticBitmap
// ----------------------------------------------------------------------------
-class wxStaticBitmap : public wxStaticBitmapBase
+class WXDLLIMPEXP_CORE wxStaticBitmap : public wxStaticBitmapBase
{
public:
wxStaticBitmap()
const wxSize& size = wxDefaultSize,
long style = 0)
{
- Create(parent, -1, label, pos, size, style);
+ Create(parent, wxID_ANY, label, pos, size, style);
}
wxStaticBitmap(wxWindow *parent,
wxIcon GetIcon() const;
-private:
+ virtual bool HasTransparentBackground() { return true; }
+
+protected:
virtual void DoDraw(wxControlRenderer *renderer);
+private:
// the bitmap which we show
wxBitmap m_bitmap;