X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af49c4b8a2d3553e733e71c7dd3911881f4c1a2a..2524f1ce36c16bb6253e9d5ce156996290b830dc:/include/wx/artprov.h diff --git a/include/wx/artprov.h b/include/wx/artprov.h index 3bba43e060..adf181ca4a 100644 --- a/include/wx/artprov.h +++ b/include/wx/artprov.h @@ -12,7 +12,7 @@ #ifndef _WX_ARTPROV_H_ #define _WX_ARTPROV_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "artprov.h" #endif @@ -22,6 +22,7 @@ class WXDLLEXPORT wxArtProvidersList; class WXDLLEXPORT wxArtProviderCache; +class wxArtProviderModule; // ---------------------------------------------------------------------------- // Types @@ -83,6 +84,7 @@ typedef wxString wxArtID; #define wxART_QUESTION wxART_MAKE_ART_ID(wxART_QUESTION) #define wxART_WARNING wxART_MAKE_ART_ID(wxART_WARNING) #define wxART_INFORMATION wxART_MAKE_ART_ID(wxART_INFORMATION) +#define wxART_MISSING_IMAGE wxART_MAKE_ART_ID(wxART_MISSING_IMAGE) // ---------------------------------------------------------------------------- // wxArtProvider class @@ -113,10 +115,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.