X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c35414dbe42a39e6221d88182bebde920ad0164e..0ce742cf092c9244f27957e308c16f3c2631042d:/include/wx/gtk/statbmp.h diff --git a/include/wx/gtk/statbmp.h b/include/wx/gtk/statbmp.h index cfedc1c502..0d9bcddfb3 100644 --- a/include/wx/gtk/statbmp.h +++ b/include/wx/gtk/statbmp.h @@ -74,7 +74,16 @@ 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(); + wxBitmap m_bitmap; };