X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c4ae52877704be366e38e5e44ff65fe9d42362c..840a5948c7023a650b3b8427991654e12c3427c1:/src/osx/artmac.cpp?ds=sidebyside diff --git a/src/osx/artmac.cpp b/src/osx/artmac.cpp index 2777353262..9142c143e8 100644 --- a/src/osx/artmac.cpp +++ b/src/osx/artmac.cpp @@ -34,8 +34,6 @@ class wxMacArtProvider : public wxArtProvider { protected: - virtual wxBitmap CreateBitmap(const wxArtID& id, const wxArtClient& client, - const wxSize& size); virtual wxIconBundle CreateIconBundle(const wxArtID& id, const wxArtClient& client); }; @@ -105,24 +103,6 @@ wxIconBundle wxMacArtProvider::CreateIconBundle(const wxArtID& id, const wxArtCl return wxMacArtProvider_CreateIconBundle(id); } -// ---------------------------------------------------------------------------- -// CreateBitmap -// ---------------------------------------------------------------------------- - -wxBitmap wxMacArtProvider::CreateBitmap(const wxArtID& id, - const wxArtClient& client, - const wxSize& reqSize) -{ - wxIconBundle ic(CreateIconBundle(id, client)); - if (ic.IsOk()) - { - wxIcon theIcon(ic.GetIcon(reqSize)); - return wxBitmap(theIcon); - } - - return wxNullBitmap; -} - // ---------------------------------------------------------------------------- // wxArtProvider::GetNativeSizeHint()