small wxArtProvider API improvements: added HasNativeProvider() and renamed confusingly-named Insert() to PushBack()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2008-08-07 11:46:59 +00:00
parent 28c45c53a6
commit 14440cc658
3 changed files with 52 additions and 6 deletions

View File

@@ -117,6 +117,8 @@ public:
// Dtor removes the provider from providers stack if it's still on it
virtual ~wxArtProvider();
// Does this platform implement native icons theme?
static bool HasNativeProvider();
// Add new provider to the top of providers stack (i.e. the provider will
// be queried first of all).
@@ -124,7 +126,12 @@ public:
// Add new provider to the bottom of providers stack (i.e. the provider
// will be queried as the last one).
static void Insert(wxArtProvider *provider);
static void PushBack(wxArtProvider *provider);
#if WXWIN_COMPATIBILITY_2_8
// use PushBack(), it's the same thing
wxDEPRECATED( static void Insert(wxArtProvider *provider) );
#endif
// Remove latest added provider and delete it.
static bool Pop();