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