X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32d4bfd16c554ba060ccee9236abb8e7ff0e913a..de3131e78406c3d8a4fb5c1fdf91fbeccfe63f73:/include/wx/gtk1/statbmp.h diff --git a/include/wx/gtk1/statbmp.h b/include/wx/gtk1/statbmp.h index 4716ffd797..0d9bcddfb3 100644 --- a/include/wx/gtk1/statbmp.h +++ b/include/wx/gtk1/statbmp.h @@ -74,6 +74,12 @@ public: return (const wxIcon &)m_bitmap; } + // for compatibility with wxMSW + void SetIcon(const wxIcon& icon) + { + SetBitmap( icon ); + } + private: // creates the new pixmap widget void CreatePixmapWidget();