X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cba5a276e4821a0ae7d1e7a435d6aab38baa0a9f..85f138db83939ce7c59a942aaecca7fa98168db3:/include/wx/artprov.h diff --git a/include/wx/artprov.h b/include/wx/artprov.h index 2863bcbed3..934f343c24 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 @@ -47,6 +47,7 @@ typedef wxString wxArtID; #define wxART_CMN_DIALOG wxART_MAKE_CLIENT_ID(wxART_CMN_DIALOG) #define wxART_HELP_BROWSER wxART_MAKE_CLIENT_ID(wxART_HELP_BROWSER) #define wxART_MESSAGE_BOX wxART_MAKE_CLIENT_ID(wxART_MESSAGE_BOX) +#define wxART_BUTTON wxART_MAKE_CLIENT_ID(wxART_BUTTON) #define wxART_OTHER wxART_MAKE_CLIENT_ID(wxART_OTHER) @@ -119,6 +120,8 @@ protected: friend class wxArtProviderModule; // Initializes default provider static void InitStdProvider(); + // Initializes platform's native provider, if available (e.g. GTK2) + static void InitNativeProvider(); // Destroy caches & all providers static void CleanUpProviders();