virtual bool CanApplyThemeBorder() const { return false; }
protected:
- virtual wxSize DoGetBestSize() const;
+ virtual wxSize DoGetBestClientSize() const;
// ctor/dtor helpers
void Init() { m_isIcon = true; m_image = NULL; m_currentHandle = 0; }
void SetImage(const wxGDIImage* image);
void SetImageNoCopy( wxGDIImage* image );
+#ifndef __WXWINCE__
// draw the bitmap ourselves here if the OS can't do it correctly (if it
// can we leave it to it)
void DoPaintManually(wxPaintEvent& event);
+#endif // !__WXWINCE__
// we can have either an icon or a bitmap
private:
DECLARE_DYNAMIC_CLASS(wxStaticBitmap)
- DECLARE_NO_COPY_CLASS(wxStaticBitmap)
+ wxDECLARE_NO_COPY_CLASS(wxStaticBitmap);
};
#endif