]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/statbmp.h
* Implemented BestSize cache
[wxWidgets.git] / include / wx / os2 / statbmp.h
index 116e25034d3f32f34548389168bfe2a0113db33b..4f34c65d5ffe94b3b48be1598cefc9943580fe8d 100644 (file)
@@ -19,8 +19,6 @@
 #include "wx/control.h"
 #include "wx/icon.h"
 
 #include "wx/control.h"
 #include "wx/icon.h"
 
-WXDLLEXPORT_DATA(extern const char*) wxStaticBitmapNameStr;
-
 class WXDLLEXPORT wxStaticBitmap : public wxStaticBitmapBase
 {
  public:
 class WXDLLEXPORT wxStaticBitmap : public wxStaticBitmapBase
 {
  public:
@@ -60,6 +58,11 @@ class WXDLLEXPORT wxStaticBitmap : public wxStaticBitmapBase
 
     // overriden base class virtuals
     virtual bool AcceptsFocus() const { return FALSE; }
 
     // overriden base class virtuals
     virtual bool AcceptsFocus() const { return FALSE; }
+    virtual MRESULT OS2WindowProc( WXUINT   uMsg
+                                  ,WXWPARAM wParam
+                                  ,WXLPARAM lParam
+                                 );
+    void OnPaint(wxPaintEvent& rEvent);
 
 protected:
     virtual wxSize DoGetBestSize() const;
 
 protected:
     virtual wxSize DoGetBestSize() const;
@@ -77,7 +80,8 @@ protected:
     wxGDIImage*                     m_pImage;
 private:
     DECLARE_DYNAMIC_CLASS(wxStaticBitmap)
     wxGDIImage*                     m_pImage;
 private:
     DECLARE_DYNAMIC_CLASS(wxStaticBitmap)
-};
+    DECLARE_EVENT_TABLE()
+}; // end of wxStaticBitmap
 
 #endif
     // _WX_STATBMP_H_
 
 #endif
     // _WX_STATBMP_H_