1. deprecate redundantly sounding wxArtProvider::FooProvider() to just Foo()

2. wxArtProvider::Remove() now really only removes the provider without
   deleting it, Delete() does delete it
3. moreover, ~wxArtProvider removes the provider as well so there is almost
   no need to call Delete() explicitly any more


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-09-23 20:16:18 +00:00
parent 43e995b6e3
commit 571d2e0f23
10 changed files with 150 additions and 43 deletions

View File

@@ -54,7 +54,7 @@ protected:
/*static*/ void wxArtProvider::InitNativeProvider()
{
wxArtProvider::PushProvider(new wxGTK2ArtProvider);
wxArtProvider::Push(new wxGTK2ArtProvider);
}
// ----------------------------------------------------------------------------