X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3dece6c4bc6b3952cf2e3c77ca52081a443677be..472eec8a0391538e4dcf7f7c6c4f4d44c8383616:/include/wx/msw/statbmp.h?ds=sidebyside diff --git a/include/wx/msw/statbmp.h b/include/wx/msw/statbmp.h index a1fadbbf60..7086e812dd 100644 --- a/include/wx/msw/statbmp.h +++ b/include/wx/msw/statbmp.h @@ -52,11 +52,14 @@ public: virtual wxBitmap GetBitmap() const; virtual wxIcon GetIcon() const; + virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; + + // returns true if the platform should explicitly apply a theme border + virtual bool CanApplyThemeBorder() const { return false; } protected: virtual wxBorder GetDefaultBorder() const; virtual wxSize DoGetBestSize() const; - virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; // ctor/dtor helpers void Init() { m_isIcon = true; m_image = NULL; m_currentHandle = 0; } @@ -71,8 +74,9 @@ protected: // we can have either an icon or a bitmap bool m_isIcon; wxGDIImage *m_image; + // handle used in last call to STM_SETIMAGE - HGDIOBJ m_currentHandle; + WXHANDLE m_currentHandle; private: DECLARE_DYNAMIC_CLASS(wxStaticBitmap)