X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6ada5c335980d255e2fb315ed86c091010870c5e..6dd16e4f26490f1f4f2be1204840cbf4ecf74a35:/include/wx/artprov.h?ds=sidebyside diff --git a/include/wx/artprov.h b/include/wx/artprov.h index d9a312e096..4a862d3f58 100644 --- a/include/wx/artprov.h +++ b/include/wx/artprov.h @@ -12,7 +12,7 @@ #ifndef _WX_ARTPROV_H_ #define _WX_ARTPROV_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "artprov.h" #endif @@ -22,6 +22,7 @@ class WXDLLEXPORT wxArtProvidersList; class WXDLLEXPORT wxArtProviderCache; +class wxArtProviderModule; // ---------------------------------------------------------------------------- // Types @@ -113,10 +114,13 @@ public: const wxArtClient& client = wxART_OTHER, const wxSize& size = wxDefaultSize); +protected: + friend class wxArtProviderModule; + // Initializes default provider + static void InitStdProvider(); // Destroy caches & all providers static void CleanUpProviders(); -protected: // Derived classes must override this method to create requested // art resource. This method is called only once per instance's // lifetime for each requested wxArtID.