// Modified by:
// Created: 25.08.00
// RCS-ID: $Id$
-// Copyright: (c) 2000 Vadim Zeitlin
+// Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_UNIV_STATBMP_H_
#define _WX_UNIV_STATBMP_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "univstatbmp.h"
#endif
// wxStaticBitmap
// ----------------------------------------------------------------------------
-class wxStaticBitmap : public wxStaticBitmapBase
+class WXDLLEXPORT 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;
+ virtual bool HasTransparentBackground() { return true; }
+
private:
virtual void DoDraw(wxControlRenderer *renderer);