X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e3c80a1dd90db618f70abf33dd50e0a26da2ff04..cbeda384e51acb82e13994cb67ac1714669cae10:/include/wx/artprov.h diff --git a/include/wx/artprov.h b/include/wx/artprov.h index 7bca512e8d..b32e34b375 100644 --- a/include/wx/artprov.h +++ b/include/wx/artprov.h @@ -205,7 +205,10 @@ protected: // only once per instance's lifetime for each requested wxArtID. virtual wxBitmap CreateBitmap(const wxArtID& WXUNUSED(id), const wxArtClient& WXUNUSED(client), - const wxSize& WXUNUSED(size)) { return wxNullBitmap; } + const wxSize& WXUNUSED(size)) + { + return wxNullBitmap; + } virtual wxIconBundle CreateIconBundle(const wxArtID& WXUNUSED(id), const wxArtClient& WXUNUSED(client)) @@ -215,6 +218,8 @@ protected: private: static void CommonAddingProvider(); + static wxIconBundle DoGetIconBundle(const wxArtID& id, + const wxArtClient& client); private: // list of providers: @@ -228,7 +233,7 @@ private: #if !defined(__WXUNIVERSAL__) && \ ((defined(__WXGTK__) && defined(__WXGTK20__)) || defined(__WXMSW__) || \ - (defined(__WXMAC__) && wxOSX_USE_CARBON)) + (defined(__WXMAC__) && wxOSX_USE_COCOA_OR_CARBON)) // *some* (partial) native implementation of wxArtProvider exists; this is // not the same as wxArtProvider::HasNativeProvider()! #define wxHAS_NATIVE_ART_PROVIDER_IMPL