]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/statbmp.h
Add missing WINDOWPOS flags for WinCE build to include/wx/msw/wince/missing.h
[wxWidgets.git] / include / wx / univ / statbmp.h
index 42fbf0b0ee5b93b9ff448e158848132ba1cade64..cf4eb7164c100eafd0617a1af7246525cb061469 100644 (file)
 #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);