X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..8875e7ad84fd62fb2f686426e65c5f99a04581dd:/include/wx/univ/statbmp.h diff --git a/include/wx/univ/statbmp.h b/include/wx/univ/statbmp.h index 7579b0b887..cf4eb7164c 100644 --- a/include/wx/univ/statbmp.h +++ b/include/wx/univ/statbmp.h @@ -5,24 +5,20 @@ // 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__ - #pragma interface "univstatbmp.h" -#endif - #include "wx/bitmap.h" // ---------------------------------------------------------------------------- // wxStaticBitmap // ---------------------------------------------------------------------------- -class wxStaticBitmap : public wxStaticBitmapBase +class WXDLLEXPORT wxStaticBitmap : public wxStaticBitmapBase { public: wxStaticBitmap() @@ -35,7 +31,7 @@ public: 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, @@ -63,6 +59,8 @@ public: wxIcon GetIcon() const; + virtual bool HasTransparentBackground() { return true; } + private: virtual void DoDraw(wxControlRenderer *renderer);