]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/statbmp.h
Added missing declaration of wxIcon::operator =(const wxIcon &)
[wxWidgets.git] / include / wx / gtk / statbmp.h
index d6731e42d691ebf0473a334a0a21cbbfe875ed68..b534110b1d0dd6e17f371d100053fc57aa089276 100644 (file)
@@ -18,7 +18,6 @@
 
 #include "wx/defs.h"
 #include "wx/object.h"
 
 #include "wx/defs.h"
 #include "wx/object.h"
-#include "wx/list.h"
 #include "wx/control.h"
 
 //-----------------------------------------------------------------------------
 #include "wx/control.h"
 
 //-----------------------------------------------------------------------------
 
 class wxStaticBitmap;
 
 
 class wxStaticBitmap;
 
+//-----------------------------------------------------------------------------
+// global data
+//-----------------------------------------------------------------------------
+
+extern const char* wxStaticBitmapNameStr;
+
 //-----------------------------------------------------------------------------
 // wxStaticBitmap
 //-----------------------------------------------------------------------------
 
 //-----------------------------------------------------------------------------
 // wxStaticBitmap
 //-----------------------------------------------------------------------------
 
+class wxStaticBitmap: public wxControl
+{
+  DECLARE_DYNAMIC_CLASS(wxStaticBitmap)
+  
+  public:
+  
+    wxStaticBitmap(void);
+    wxStaticBitmap( wxWindow *parent, wxWindowID id, const wxBitmap& label,
+      const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
+      long style = 0, const wxString& name = wxStaticBitmapNameStr );
+    bool Create( wxWindow *parent, wxWindowID id, const wxBitmap& label,
+      const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
+      long style = 0, const wxString& name = wxStaticBitmapNameStr);
+    virtual void SetBitmap( const wxBitmap& bitmap );
+    wxBitmap& GetBitmap(void) const { return (wxBitmap&)m_bitmap; }
+
+ private:
+   wxBitmap   m_bitmap;
+};
+
 #endif // __GTKSTATICBITMAPH__
 #endif // __GTKSTATICBITMAPH__