X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63ec432bd7b9c93961e85e871bcb31758364a634..cc8bc5aa9cd14c158de637acb9e5ed8beb066d57:/include/wx/msw/statbmp.h diff --git a/include/wx/msw/statbmp.h b/include/wx/msw/statbmp.h index 957f9966b2..db39bbb7bc 100644 --- a/include/wx/msw/statbmp.h +++ b/include/wx/msw/statbmp.h @@ -59,7 +59,7 @@ protected: virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; // ctor/dtor helpers - void Init() { m_isIcon = true; m_image = NULL; } + void Init() { m_isIcon = true; m_image = NULL; m_currentHandle = 0; } void Free(); // true if icon/bitmap is valid @@ -72,6 +72,9 @@ protected: bool m_isIcon; wxGDIImage *m_image; + // handle used in last call to STM_SETIMAGE + WXHANDLE m_currentHandle; + private: DECLARE_DYNAMIC_CLASS(wxStaticBitmap) DECLARE_NO_COPY_CLASS(wxStaticBitmap)