X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32d4bfd16c554ba060ccee9236abb8e7ff0e913a..1987af7e9f5685198b0c19e2326eebf7e56b7834:/include/wx/gtk1/statbmp.h?ds=sidebyside 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();