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