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 DoPaintManually(wxPaintEvent& event);
#endif // !__WXWINCE__
+ void WXHandleSize(wxSizeEvent& event);
// we can have either an icon or a bitmap
bool m_isIcon;
private:
DECLARE_DYNAMIC_CLASS(wxStaticBitmap)
- DECLARE_NO_COPY_CLASS(wxStaticBitmap)
+ wxDECLARE_EVENT_TABLE();
+ wxDECLARE_NO_COPY_CLASS(wxStaticBitmap);
};
#endif