class WXDLLEXPORT wxArtProvider : public wxObject
{
public:
- // Add new provider to the top of providers stack.
+ // Add new provider to the top of providers stack (i.e. the provider will
+ // be querier first of all).
static void PushProvider(wxArtProvider *provider);
+ // Add new provider to the bottom of providers stack (i.e. the provider
+ // will be queried as the last one).
+ static void InsertProvider(wxArtProvider *provider);
+
// Remove latest added provider and delete it.
static bool PopProvider();
{
return GetSizeHint(client, true);
}
-
+
// 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.
const wxArtClient& WXUNUSED(client),
const wxSize& WXUNUSED(size)) = 0;
+private:
+ static void CommonAddingProvider();
+
private:
// list of providers:
static wxArtProvidersList *sm_providers;